diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-07-27 01:20:17 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-07-27 01:50:13 -0300 |
commit | f1afd7765c2a35cc77e1ee40466db36f181e29f5 (patch) | |
tree | 280be0c95892305fb6a580f0fa0b05bb99f32ce2 /activerecord/lib/active_record/serializers | |
parent | 87f3bd0c43f288aa2a9b127380bc4ecb400c0db0 (diff) | |
download | rails-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/lib/active_record/serializers')
0 files changed, 0 insertions, 0 deletions