aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/time_zone_test_helpers.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2018-07-26 12:15:41 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2018-07-26 12:15:41 -0700
commit4cdedb571cc842ae9883a9b9754471ae3e82f698 (patch)
tree41297a56515e72657c6a679b468d2fcf0a642595 /activesupport/test/time_zone_test_helpers.rb
parent5e0c423881985abfcbeffa602ee0d15467e24bf7 (diff)
downloadrails-4cdedb571cc842ae9883a9b9754471ae3e82f698.tar.gz
rails-4cdedb571cc842ae9883a9b9754471ae3e82f698.tar.bz2
rails-4cdedb571cc842ae9883a9b9754471ae3e82f698.zip
Always subscribe to event objects via `AS::Notifications.subscribe`
We don't need to have a special subscribe method for objects. The regular `subscribe` method is more expensive than a specialized method, but `subscribe` should not be called frequently. If that turns out to be a hotspot, we can introduce a specialized method. :)
Diffstat (limited to 'activesupport/test/time_zone_test_helpers.rb')
0 files changed, 0 insertions, 0 deletions