diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/association_basics.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile index 0ce62e1114..e44b3a207b 100644 --- a/railties/guides/source/association_basics.textile +++ b/railties/guides/source/association_basics.textile @@ -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 |