From 8e814a0ac0768816974d2bfd68d33d931592751e Mon Sep 17 00:00:00 2001 From: kennyj Date: Sat, 28 Sep 2013 12:23:58 +0900 Subject: Renamed generated_feature_methods to generated_association_methods. --- .../lib/active_record/associations/builder/singular_association.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record/associations/builder/singular_association.rb') diff --git a/activerecord/lib/active_record/associations/builder/singular_association.rb b/activerecord/lib/active_record/associations/builder/singular_association.rb index d97c0e9afd..e81cc99278 100644 --- a/activerecord/lib/active_record/associations/builder/singular_association.rb +++ b/activerecord/lib/active_record/associations/builder/singular_association.rb @@ -12,7 +12,7 @@ module ActiveRecord::Associations::Builder def define_accessors(model) super - define_constructors(model.generated_feature_methods) if constructable? + define_constructors(model.generated_association_methods) if constructable? end # Defines the (build|create)_association methods for belongs_to or has_one association -- cgit v1.2.3