From 3deb35ea5c92d576b3979e39f816e83d76355836 Mon Sep 17 00:00:00 2001 From: mhutchin Date: Sat, 8 Oct 2011 22:45:31 -0700 Subject: copy editing --- railties/guides/source/association_basics.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source/association_basics.textile') diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile index f5f0f9340c..5e8610073b 100644 --- a/railties/guides/source/association_basics.textile +++ b/railties/guides/source/association_basics.textile @@ -566,7 +566,7 @@ The build_association method returns a new object of the assoc h6(#belongs_to-create_association). create_association(attributes = {}) -The create_association method returns a new object of the associated type. This object will be instantiated from the passed attributes, and the link through this object's foreign key will be set. In addition, the associated object _will_ be saved (assuming that it passes any validations). +The create_association method returns a new object of the associated type. This object will be instantiated from the passed attributes, and the link through this object's foreign key will be set. In addition, once it passes all of the validations specified on the associated model, the associated object _will_ be saved. @customer = @order.create_customer(:customer_number => 123, -- cgit v1.2.3