diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-02-06 22:28:59 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-02-06 22:28:59 +0100 |
commit | 4e4bcae0841b81438ce3b6c627eebc7536566bf5 (patch) | |
tree | 7e420dd26b3d8f3c18ac11f27de4814c650a99b6 /activerecord/lib/active_record/explain_subscriber.rb | |
parent | 495ec33d08f0535750fc4a08e1eee56ddc46137a (diff) | |
download | rails-4e4bcae0841b81438ce3b6c627eebc7536566bf5.tar.gz rails-4e4bcae0841b81438ce3b6c627eebc7536566bf5.tar.bz2 rails-4e4bcae0841b81438ce3b6c627eebc7536566bf5.zip |
Avoid coupling Action Pack to Railties.
Referencing Rails.env without checking if it's defined couples
us to Railties.
Fix by avoiding the line breaks if we don't have an env check
to rely on.
Diffstat (limited to 'activerecord/lib/active_record/explain_subscriber.rb')
0 files changed, 0 insertions, 0 deletions