From d4434eddc933970cc3d9fe6c207ae50c907d155f Mon Sep 17 00:00:00 2001 From: Mike Gunderloy Date: Sun, 8 Feb 2009 05:58:13 -0600 Subject: Fix code sample in Association Basics Guide --- railties/guides/source/association_basics.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 class Customer < ActiveRecord::Base - has_many :orders + has_many :orders, :dependent => :destroy end class Order < ActiveRecord::Base -- cgit v1.2.3