mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Documentation fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
56234bee14
commit
6b38b9739a
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
*SVN*
|
*SVN*
|
||||||
|
|
||||||
|
* Fix incorrect documentation for form_for [Nicholas Seckar]
|
||||||
|
|
||||||
* Don't include a layout when rendering an rjs template using render's :template option. [Marcel Molina Jr.]
|
* Don't include a layout when rendering an rjs template using render's :template option. [Marcel Molina Jr.]
|
||||||
|
|
||||||
* Update to script.aculo.us 1.5.0 final (equals 1.5.0_rc6) [Thomas Fuchs]
|
* Update to script.aculo.us 1.5.0 final (equals 1.5.0_rc6) [Thomas Fuchs]
|
||||||
|
|
|
@ -68,7 +68,7 @@ module ActionView
|
||||||
# Creates a form and a scope around a specific model object, which is then used as a base for questioning about
|
# Creates a form and a scope around a specific model object, which is then used as a base for questioning about
|
||||||
# values for the fields. Examples:
|
# values for the fields. Examples:
|
||||||
#
|
#
|
||||||
# <% form_for :person => @person, :url => { :action => "update" } do |f| %>
|
# <% form_for :person, @person, :url => { :action => "update" } do |f| %>
|
||||||
# First name: <%= f.text_field :first_name %>
|
# First name: <%= f.text_field :first_name %>
|
||||||
# Last name : <%= f.text_field :last_name %>
|
# Last name : <%= f.text_field :last_name %>
|
||||||
# Biography : <%= f.text_area :biography %>
|
# Biography : <%= f.text_area :biography %>
|
||||||
|
|
Loading…
Reference in a new issue