Permalink
Browse files

cleanliness in method parameters

  • Loading branch information...
1 parent cd556c9 commit 53362fcbcf99ebfa6834680c8a8942b26a6c4ffb @aderyabin aderyabin committed Apr 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
View
2 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 53362fc

Please sign in to comment.