Fix code sample in Association Basics Guide
This commit is contained in:
parent
cce017bed5
commit
d4434eddc9
@ -41,7 +41,7 @@ With Active Record associations, we can streamline these - and other - operation
|
||||
|
||||
<ruby>
|
||||
class Customer < ActiveRecord::Base
|
||||
has_many :orders
|
||||
has_many :orders, :dependent => :destroy
|
||||
end
|
||||
|
||||
class Order < ActiveRecord::Base
|
||||
|
Loading…
Reference in New Issue
Block a user