aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource
diff options
context:
space:
mode:
authorJosh Susser <josh@hasmanythrough.com>2011-11-27 14:15:40 -0800
committerJosh Susser <josh@hasmanythrough.com>2011-11-27 14:15:40 -0800
commit124c97fbe201f810d77f807ce69f37148e903c44 (patch)
treeaa76767b9aadc5f60e6a25fbf5ae4b82eef4a033 /activeresource
parent10834e975a54b63a07896cb8a6a16c336e20a792 (diff)
downloadrails-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 'activeresource')
0 files changed, 0 insertions, 0 deletions