diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-12-24 14:19:03 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-12-24 14:48:44 +0000 |
commit | deb91690ae0883826950fa2cfb7c23944d7f03de (patch) | |
tree | 166d16e22751fce5eb5776c0c6e2274b10cd1468 /activerecord/lib/active_record | |
parent | 6696f7e01026a9199d899f0b0a88763ba5bc020e (diff) | |
download | rails-deb91690ae0883826950fa2cfb7c23944d7f03de.tar.gz rails-deb91690ae0883826950fa2cfb7c23944d7f03de.tar.bz2 rails-deb91690ae0883826950fa2cfb7c23944d7f03de.zip |
Intercept sends in Model::DeprecationProxy
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/model.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/model.rb b/activerecord/lib/active_record/model.rb index 44051f1a71..f87be257db 100644 --- a/activerecord/lib/active_record/model.rb +++ b/activerecord/lib/active_record/model.rb @@ -78,6 +78,8 @@ module ActiveRecord Base.send(name, *args, &block) end end + + alias send method_missing end end end |