aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-12-25 11:02:42 -0800
committerXavier Noria <fxn@hashref.com>2011-12-25 11:11:49 -0800
commit40bda760675f7cd05d44c66c6daf1f95161a15de (patch)
treee6c52868507108545ccaa7a813f8bc90f72ee231 /actionpack
parent4e1999d20e4135d586135bbd37d4e2a86ca8975b (diff)
downloadrails-40bda760675f7cd05d44c66c6daf1f95161a15de.tar.gz
rails-40bda760675f7cd05d44c66c6daf1f95161a15de.tar.bz2
rails-40bda760675f7cd05d44c66c6daf1f95161a15de.zip
removes the compatibility method Module#instance_method_names
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index ffb5a729ed..5a301ca9b1 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -5,7 +5,6 @@ require 'action_view/helpers/form_tag_helper'
require 'action_view/helpers/active_model_helper'
require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/hash/slice'
-require 'active_support/core_ext/module/method_names'
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/output_safety'
require 'active_support/core_ext/array/extract_options'
@@ -1232,7 +1231,7 @@ module ActionView
class FormBuilder
# The methods which wrap a form helper call.
class_attribute :field_helpers
- self.field_helpers = FormHelper.instance_method_names - %w(form_for convert_to_model)
+ self.field_helpers = FormHelper.instance_methods - [:form_for, :convert_to_model]
attr_accessor :object_name, :object, :options