diff options
author | Brandon Dunne <bdunne@redhat.com> | 2015-10-13 14:10:14 -0400 |
---|---|---|
committer | Brandon Dunne <bdunne@redhat.com> | 2015-10-14 07:49:39 -0400 |
commit | 6c98fbd9c3cc28ccbfc1b46a9ce3d58fdb19f3c8 (patch) | |
tree | c1cc494cb2b4a3c7fb62f275b84f8a6b0f96f468 /activerecord/lib/active_record/relation.rb | |
parent | 31af8c90b60dc475fd80d2919bfb874b4acc4507 (diff) | |
download | rails-6c98fbd9c3cc28ccbfc1b46a9ce3d58fdb19f3c8.tar.gz rails-6c98fbd9c3cc28ccbfc1b46a9ce3d58fdb19f3c8.tar.bz2 rails-6c98fbd9c3cc28ccbfc1b46a9ce3d58fdb19f3c8.zip |
Fix bug where custom deprecators are not used.
Add tests for ActiveSupport::Deprecation.deprecate_methods
Modify ActiveSupport::Testing::Deprecation to allow a custom deprecator
Leverage ActiveSupport::Testing::Deprecation assert_deprecated
Update documentation for ActiveSupport::Deprecation.deprecate_methods
Use cases:
Using the default deprecator => "removed from Rails X.Y"
Passing a custom deprecator in the options hash => "removed from MyGem next-release"
Deprecating methods directly from custom deprecator => "removed from MyGem next-release"
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
0 files changed, 0 insertions, 0 deletions