diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-05 13:34:44 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-05 13:34:44 -0700 |
commit | 75099a933d0bf5e037037f78fbb305520955b064 (patch) | |
tree | 254ba1cd1dbffc801f1a6bdce7b1f3fd9664fc18 /activerecord/lib | |
parent | 8fee923888192a658d8823b31e77ed0683dfd665 (diff) | |
download | rails-75099a933d0bf5e037037f78fbb305520955b064.tar.gz rails-75099a933d0bf5e037037f78fbb305520955b064.tar.bz2 rails-75099a933d0bf5e037037f78fbb305520955b064.zip |
Remove unneccesary default parameters
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/attribute_set/builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_set/builder.rb b/activerecord/lib/active_record/attribute_set/builder.rb index 92640f1579..0a62c68bfb 100644 --- a/activerecord/lib/active_record/attribute_set/builder.rb +++ b/activerecord/lib/active_record/attribute_set/builder.rb @@ -11,7 +11,7 @@ module ActiveRecord build_from_database_pairs(values.keys, values.values, additional_types) end - def build_from_database_pairs(columns = [], values = [], additional_types = {}) + def build_from_database_pairs(columns, values, additional_types) attributes = build_attributes_from_values(columns, values, additional_types) add_uninitialized_attributes(attributes) AttributeSet.new(attributes) |