diff options
author | Andrey Deryabin <deriabin@gmail.com> | 2012-04-25 16:51:40 +0700 |
---|---|---|
committer | Andrey Deryabin <deriabin@gmail.com> | 2012-04-25 16:51:40 +0700 |
commit | 53362fcbcf99ebfa6834680c8a8942b26a6c4ffb (patch) | |
tree | bc81b5e4495e2481e663802c939ef30994e5db4e /activerecord/lib | |
parent | cd556c9388171bff263825d3066ef440a00d01b3 (diff) | |
download | rails-53362fcbcf99ebfa6834680c8a8942b26a6c4ffb.tar.gz rails-53362fcbcf99ebfa6834680c8a8942b26a6c4ffb.tar.bz2 rails-53362fcbcf99ebfa6834680c8a8942b26a6c4ffb.zip |
cleanliness in method parameters
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 1d713e472b..87b35bb948 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -299,7 +299,7 @@ module ActiveRecord raise exception end - def translate_exception(e, message) + def translate_exception(exception, message) # override in derived class ActiveRecord::StatementInvalid.new(message) end |