aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/2_3_release_notes.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-03-19 23:23:05 +0100
committerXavier Noria <fxn@hashref.com>2009-03-19 23:23:05 +0100
commit0f87fd30692b678c3875349a21777d24a6e2ab45 (patch)
tree6601f27ca44b7d12c84a9bb8c9934ec9c9d17eff /railties/guides/source/2_3_release_notes.textile
parent3d3a74f07fe192cddeb6084e15f16fa08c451499 (diff)
downloadrails-0f87fd30692b678c3875349a21777d24a6e2ab45.tar.gz
rails-0f87fd30692b678c3875349a21777d24a6e2ab45.tar.bz2
rails-0f87fd30692b678c3875349a21777d24a6e2ab45.zip
thanks but release notes are mostly frozen once they are published, and provide only an overview of the new stuff
Diffstat (limited to 'railties/guides/source/2_3_release_notes.textile')
-rw-r--r--railties/guides/source/2_3_release_notes.textile11
1 files changed, 0 insertions, 11 deletions
diff --git a/railties/guides/source/2_3_release_notes.textile b/railties/guides/source/2_3_release_notes.textile
index 7f617a6763..cc2e2dc20c 100644
--- a/railties/guides/source/2_3_release_notes.textile
+++ b/railties/guides/source/2_3_release_notes.textile
@@ -365,17 +365,6 @@ You can write this view in Rails 2.3:
<% end %>
</erb>
-When nesting across a +has_one+ relationship you will need to create a new blank object for the nested object before calling +fields_for+ in the view.
-
-A +build_&lt;model_name&gt;+ method has been created for this purpose:
-
-<erb>
- <% @customer.build_order unless @customer.order %>
- <% customer_form.fields_for :orders do |order_form| %>
-</erb>
-
-Otherwise +@customer.order+ will return +nil+ and your form will fail. +has_many+ relationships do not require this extra step.
-
* Lead Contributor: "Eloy Duran":http://www.superalloy.nl/blog/
* More Information:
** "Nested Model Forms":http://weblog.rubyonrails.org/2009/1/26/nested-model-forms