Permalink
Browse files

thanks but release notes are mostly frozen once they are published, a…

…nd provide only an overview of the new stuff
  • Loading branch information...
1 parent 3d3a74f commit 0f87fd30692b678c3875349a21777d24a6e2ab45 @fxn fxn committed Mar 19, 2009
Showing with 0 additions and 11 deletions.
  1. +0 −11 railties/guides/source/2_3_release_notes.textile
View
11 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

0 comments on commit 0f87fd3

Please sign in to comment.