aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/association_basics.textile
diff options
context:
space:
mode:
authormhutchin <mike@mhutchinson.com>2011-10-08 22:45:31 -0700
committermhutchin <mike@mhutchinson.com>2011-10-08 22:45:31 -0700
commit3deb35ea5c92d576b3979e39f816e83d76355836 (patch)
tree5752a56d684f4c72c6b3ab3caf67d1fb90080dd6 /railties/guides/source/association_basics.textile
parent6a5eeab3cde28f0faf187b681fde4e52a96a1268 (diff)
downloadrails-3deb35ea5c92d576b3979e39f816e83d76355836.tar.gz
rails-3deb35ea5c92d576b3979e39f816e83d76355836.tar.bz2
rails-3deb35ea5c92d576b3979e39f816e83d76355836.zip
copy editing
Diffstat (limited to 'railties/guides/source/association_basics.textile')
-rw-r--r--railties/guides/source/association_basics.textile2
1 files changed, 1 insertions, 1 deletions
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 <tt>build_<em>association</em></tt> method returns a new object of the assoc
h6(#belongs_to-create_association). <tt>create_<em>association</em>(attributes = {})</tt>
-The <tt>create_<em>association</em></tt> 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 <tt>create_<em>association</em></tt> 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.
<ruby>
@customer = @order.create_customer(:customer_number => 123,