diff options
author | Sergey Nartimov <just.lest@gmail.com> | 2012-01-01 21:07:17 +0300 |
---|---|---|
committer | Sergey Nartimov <just.lest@gmail.com> | 2012-01-02 22:14:50 +0300 |
commit | 1c0eece9ebfaf81b09ea9f7735020e714823314a (patch) | |
tree | 8a509f7257f94fbafaf9b1ab553b0efc7730f320 /actionpack/lib | |
parent | 881ca628b0df2db19f70830f178b0d55efc299ca (diff) | |
download | rails-1c0eece9ebfaf81b09ea9f7735020e714823314a.tar.gz rails-1c0eece9ebfaf81b09ea9f7735020e714823314a.tar.bz2 rails-1c0eece9ebfaf81b09ea9f7735020e714823314a.zip |
fix use of FormBuilder.field_helpers
it is array of symbols now
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 5a301ca9b1..d46ee4faef 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -1270,7 +1270,7 @@ module ActionView @multipart = nil end - (field_helpers - %w(label check_box radio_button fields_for hidden_field file_field)).each do |selector| + (field_helpers - [:label, :check_box, :radio_button, :fields_for, :hidden_field, :file_field]).each do |selector| class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1 def #{selector}(method, options = {}) # def text_field(method, options = {}) @template.send( # @template.send( |