diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2010-01-01 23:34:15 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2010-01-01 23:34:15 +0530 |
commit | fc94c03c1d509eda7f87ab216e8d1115afbfd1ed (patch) | |
tree | 3bf2fae3982cd5a2a8db6d7eada59c02ebe36466 /activerecord/lib/active_record/locking/optimistic.rb | |
parent | d200d080041bc4cefba8a8d39943b233ee2630a0 (diff) | |
download | rails-fc94c03c1d509eda7f87ab216e8d1115afbfd1ed.tar.gz rails-fc94c03c1d509eda7f87ab216e8d1115afbfd1ed.tar.bz2 rails-fc94c03c1d509eda7f87ab216e8d1115afbfd1ed.zip |
Remove unncessary arguments passed to arel_table
Diffstat (limited to 'activerecord/lib/active_record/locking/optimistic.rb')
-rw-r--r-- | activerecord/lib/active_record/locking/optimistic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/locking/optimistic.rb b/activerecord/lib/active_record/locking/optimistic.rb index 986bc7009b..7911370332 100644 --- a/activerecord/lib/active_record/locking/optimistic.rb +++ b/activerecord/lib/active_record/locking/optimistic.rb @@ -78,7 +78,7 @@ module ActiveRecord attribute_names.uniq! begin - arel_table = self.class.arel_table(self.class.table_name) + arel_table = self.class.arel_table affected_rows = arel_table.where( arel_table[self.class.primary_key].eq(quoted_id).and( |