diff options
author | José Valim <jose.valim@gmail.com> | 2010-04-10 10:53:05 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-04-10 10:53:05 +0200 |
commit | cd79a4617421f1b66e905f5da84ff28004e2bedd (patch) | |
tree | 12defecd3dbfccb8abfd46e7d89c07dd95e34969 /actionpack/lib/action_view/helpers/form_helper.rb | |
parent | d3ec4b1ba6528a081f5124fd71cc026b1f8abe9c (diff) | |
download | rails-cd79a4617421f1b66e905f5da84ff28004e2bedd.tar.gz rails-cd79a4617421f1b66e905f5da84ff28004e2bedd.tar.bz2 rails-cd79a4617421f1b66e905f5da84ff28004e2bedd.zip |
Remove input, form, error_messages_for and error_message_on from the framework. If you think you will miss them, feel free to use the dynamic_form plugin available at http://github.com/rails/dynamic_form
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index c0e84ce225..a3453cc47a 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -1169,14 +1169,6 @@ module ActionView @template.hidden_field(@object_name, method, objectify_options(options)) end - def error_message_on(method, *args) - @template.error_message_on(@object, method, *args) - end - - def error_messages(options = {}) - @template.error_messages_for(@object_name, objectify_options(options)) - end - # Add the submit button for the given form. When no value is given, it checks # if the object is a new resource or not to create the proper label: # |