Permalink
Browse files

Merge pull request #5978 from aderyabin/fix2

cleanliness in method parameters
  • Loading branch information...
2 parents bd6203f + 53362fc commit 6d095b4f189fdf3236705fac9970bf7af7f26305 @jeremy jeremy committed Apr 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -299,7 +299,7 @@ def log(sql, name = "SQL", binds = [])
raise exception
end
- def translate_exception(e, message)
+ def translate_exception(exception, message)
# override in derived class
ActiveRecord::StatementInvalid.new(message)
end

0 comments on commit 6d095b4

Please sign in to comment.