diff options
author | Clemens Kofler <clemens@railway.at> | 2008-09-02 10:59:20 +0200 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-09-03 00:55:23 +0200 |
commit | 4d092ba2089de185cc8f5a8d16432b348e102046 (patch) | |
tree | 49f94316647ee26b1cc448fc625c7c3ac25f2114 /activerecord | |
parent | a377c9853c05904f76751f48d2d56ef564da51b0 (diff) | |
download | rails-4d092ba2089de185cc8f5a8d16432b348e102046.tar.gz rails-4d092ba2089de185cc8f5a8d16432b348e102046.tar.bz2 rails-4d092ba2089de185cc8f5a8d16432b348e102046.zip |
Some performance goodness for AR.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/attribute_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb index ace335ed87..0a1baff87d 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/activerecord/lib/active_record/attribute_methods.rb @@ -214,7 +214,7 @@ module ActiveRecord if logger logger.warn "Exception occurred during reader method compilation." logger.warn "Maybe #{attr_name} is not a valid Ruby identifier?" - logger.warn "#{err.message}" + logger.warn err.message end end end |