diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-02-08 05:58:13 -0600 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-02-08 05:58:38 -0600 |
commit | d4434eddc933970cc3d9fe6c207ae50c907d155f (patch) | |
tree | bb7fe18fe312b87c1c0dce264cdfd5f28f22dc88 /railties/guides/source/association_basics.textile | |
parent | cce017bed56f6b91a4b1a5fe0a81154f378397fc (diff) | |
download | rails-d4434eddc933970cc3d9fe6c207ae50c907d155f.tar.gz rails-d4434eddc933970cc3d9fe6c207ae50c907d155f.tar.bz2 rails-d4434eddc933970cc3d9fe6c207ae50c907d155f.zip |
Fix code sample in Association Basics Guide
Diffstat (limited to 'railties/guides/source/association_basics.textile')
-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 |