diff options
author | Mindaugas Mozūras <mindaugas.mozuras@gmail.com> | 2014-06-23 20:54:55 +0300 |
---|---|---|
committer | Mindaugas Mozūras <mindaugas.mozuras@gmail.com> | 2014-06-23 22:53:39 +0300 |
commit | e45d97217c3c774e95510b63c6be92d654419939 (patch) | |
tree | e5457727ab41657fae4209ec7fce396308e7fadc /activerecord/lib | |
parent | 8a6b8c8a7991796ae961db2be0b0f683a1c1efc6 (diff) | |
download | rails-e45d97217c3c774e95510b63c6be92d654419939.tar.gz rails-e45d97217c3c774e95510b63c6be92d654419939.tar.bz2 rails-e45d97217c3c774e95510b63c6be92d654419939.zip |
Remove unused param 'klass' from AttributeAssignment#read_other
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/attribute_assignment.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/attribute_assignment.rb b/activerecord/lib/active_record/attribute_assignment.rb index 40e2918777..833ffa158b 100644 --- a/activerecord/lib/active_record/attribute_assignment.rb +++ b/activerecord/lib/active_record/attribute_assignment.rb @@ -134,7 +134,7 @@ module ActiveRecord elsif klass == Date read_date else - read_other(klass) + read_other end end @@ -181,7 +181,7 @@ module ActiveRecord end end - def read_other(klass) + def read_other max_position = extract_max_param positions = (1..max_position) validate_required_parameters!(positions) |