diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index c79d30ea88..390c9705d8 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -105,11 +105,12 @@ module ActionView # # if @person.update_attributes(params[:person]) # # success - # else + # els # # error handling # end # - # That's how you typically work with resources. + # That's how you typically work with resources. Note that it + # would probably improve by using the Strong Parameters functionality module FormHelper extend ActiveSupport::Concern |