diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations/builder/association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/builder/association.rb b/activerecord/lib/active_record/associations/builder/association.rb index 07c7bf58f9..41126f6f00 100644 --- a/activerecord/lib/active_record/associations/builder/association.rb +++ b/activerecord/lib/active_record/associations/builder/association.rb @@ -66,7 +66,7 @@ module ActiveRecord::Associations::Builder end def valid_options - (Association.valid_options + Association.extensions.map(&:valid_options)).flatten + Association.valid_options + Association.extensions.map(&:valid_options).flatten end def validate_options |