diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-04-25 05:12:47 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-04-25 05:12:47 -0700 |
commit | 6d095b4f189fdf3236705fac9970bf7af7f26305 (patch) | |
tree | 4ce8a087db54a67d3014340036e9b9beddf90e60 /activerecord | |
parent | bd6203f9f01dddf67187ef0868a97afd2419e870 (diff) | |
parent | 53362fcbcf99ebfa6834680c8a8942b26a6c4ffb (diff) | |
download | rails-6d095b4f189fdf3236705fac9970bf7af7f26305.tar.gz rails-6d095b4f189fdf3236705fac9970bf7af7f26305.tar.bz2 rails-6d095b4f189fdf3236705fac9970bf7af7f26305.zip |
Merge pull request #5978 from aderyabin/fix2
cleanliness in method parameters
Diffstat (limited to 'activerecord')
-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 |