aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/named_scope_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-27 01:20:17 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-27 01:50:13 -0300
commitf1afd7765c2a35cc77e1ee40466db36f181e29f5 (patch)
tree280be0c95892305fb6a580f0fa0b05bb99f32ce2 /activerecord/test/cases/named_scope_test.rb
parent87f3bd0c43f288aa2a9b127380bc4ecb400c0db0 (diff)
downloadrails-f1afd7765c2a35cc77e1ee40466db36f181e29f5.tar.gz
rails-f1afd7765c2a35cc77e1ee40466db36f181e29f5.tar.bz2
rails-f1afd7765c2a35cc77e1ee40466db36f181e29f5.zip
Only require the `:rails_env` task where is needed.
`:rails_env` tasks is not needed in all the tasks that depends of `load_config`, only in the tasks that uses `Rails.env`. Since `:rails_env` task set the `Rails.env` to be "development" if it is not set we don't need the `||` statements too Fix #7175. Conflicts: activerecord/lib/active_record/railties/databases.rake
Diffstat (limited to 'activerecord/test/cases/named_scope_test.rb')
0 files changed, 0 insertions, 0 deletions