aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/database/create_users_migration.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2017-12-08 13:42:01 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2017-12-08 14:50:27 -0800
commita50b8ea3503f5642330c1e6b94320115796b4bab (patch)
tree1fab4db91d54af009c513f2958d90e0d03e797cf /activestorage/test/database/create_users_migration.rb
parentcd0283ef29eaa4a8eb9c90d6c2efaccb20012a20 (diff)
downloadrails-a50b8ea3503f5642330c1e6b94320115796b4bab.tar.gz
rails-a50b8ea3503f5642330c1e6b94320115796b4bab.tar.bz2
rails-a50b8ea3503f5642330c1e6b94320115796b4bab.zip
Set the Rails environment from an environment variable
Option parsing happens too late to have any impact on the Rails environment. Rails accesses the environment name and memoizes it too early in the boot process for a commandline option to have any impact on the database connection, so we'll change this test to set the environment from an environment variable (and ensure it still works when running tests with `ruby`)
Diffstat (limited to 'activestorage/test/database/create_users_migration.rb')
0 files changed, 0 insertions, 0 deletions