aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/nested_attributes.rb
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2013-09-28 12:23:58 +0900
committerkennyj <kennyj@gmail.com>2013-09-28 12:26:23 +0900
commit8e814a0ac0768816974d2bfd68d33d931592751e (patch)
treee293b073839899f8b2e639b7f524605515f41bf4 /activerecord/lib/active_record/nested_attributes.rb
parent3e0a60e4e2316ee696bdcf1c115582f8f450ad07 (diff)
downloadrails-8e814a0ac0768816974d2bfd68d33d931592751e.tar.gz
rails-8e814a0ac0768816974d2bfd68d33d931592751e.tar.bz2
rails-8e814a0ac0768816974d2bfd68d33d931592751e.zip
Renamed generated_feature_methods to generated_association_methods.
Diffstat (limited to 'activerecord/lib/active_record/nested_attributes.rb')
-rw-r--r--activerecord/lib/active_record/nested_attributes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/nested_attributes.rb b/activerecord/lib/active_record/nested_attributes.rb
index df28451bb7..9d92e747d4 100644
--- a/activerecord/lib/active_record/nested_attributes.rb
+++ b/activerecord/lib/active_record/nested_attributes.rb
@@ -335,7 +335,7 @@ module ActiveRecord
# the helper methods defined below. Makes it seem like the nested
# associations are just regular associations.
def generate_association_writer(association_name, type)
- generated_feature_methods.module_eval <<-eoruby, __FILE__, __LINE__ + 1
+ generated_association_methods.module_eval <<-eoruby, __FILE__, __LINE__ + 1
if method_defined?(:#{association_name}_attributes=)
remove_method(:#{association_name}_attributes=)
end