aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-06 22:28:59 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-06 22:28:59 +0100
commit4e4bcae0841b81438ce3b6c627eebc7536566bf5 (patch)
tree7e420dd26b3d8f3c18ac11f27de4814c650a99b6 /activerecord/test
parent495ec33d08f0535750fc4a08e1eee56ddc46137a (diff)
downloadrails-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/test')
0 files changed, 0 insertions, 0 deletions