diff options
author | Josh Susser <josh@hasmanythrough.com> | 2011-11-27 14:15:40 -0800 |
---|---|---|
committer | Josh Susser <josh@hasmanythrough.com> | 2011-11-27 14:15:40 -0800 |
commit | 124c97fbe201f810d77f807ce69f37148e903c44 (patch) | |
tree | aa76767b9aadc5f60e6a25fbf5ae4b82eef4a033 /activerecord/test/cases/adapter_test.rb | |
parent | 10834e975a54b63a07896cb8a6a16c336e20a792 (diff) | |
download | rails-124c97fbe201f810d77f807ce69f37148e903c44.tar.gz rails-124c97fbe201f810d77f807ce69f37148e903c44.tar.bz2 rails-124c97fbe201f810d77f807ce69f37148e903c44.zip |
avoid warnings
This change uses Module.redefine_method as defined in ActiveSupport.
Making Module.define_method public would be as clean in the code, and
would also emit warnings when redefining an association. That is pretty
messy given current tests, so I'm leaving it for someone else to decide
what approach is better.
Diffstat (limited to 'activerecord/test/cases/adapter_test.rb')
0 files changed, 0 insertions, 0 deletions