aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2010-11-25 16:01:41 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-11-25 17:33:18 -0200
commit1b6b80355c52cc97d96f6d747271ff43efebab0a (patch)
tree6466f43e512e84a33c263df166c7b5c860b90f86 /activerecord
parentc4d31d0f13783f3cfadbde666fd2a06996b456a2 (diff)
downloadrails-1b6b80355c52cc97d96f6d747271ff43efebab0a.tar.gz
rails-1b6b80355c52cc97d96f6d747271ff43efebab0a.tar.bz2
rails-1b6b80355c52cc97d96f6d747271ff43efebab0a.zip
Remove explicit return.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/locking/optimistic.rb2
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 6503004e38..c0e1dda2bd 100644
--- a/activerecord/lib/active_record/locking/optimistic.rb
+++ b/activerecord/lib/active_record/locking/optimistic.rb
@@ -70,7 +70,7 @@ module ActiveRecord
result[self.class.locking_column] ||= 0
end
- return result
+ result
end
def update(attribute_names = @attributes.keys) #:nodoc: