阅读背景:

使has_many / belongs_to关联不可变

来源:互联网 

Let's say I have an invoice class that has many items related to it. How can I make sure that after the invoice is saved no items can be added or deleted from the invoice?Let's say I have an invoice class that has many




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: