aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoload_test.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2019-07-25 11:35:44 -0400
committereileencodes <eileencodes@gmail.com>2019-07-25 11:35:44 -0400
commit1d83ab936672790ea3abd407df8c16d696aaef70 (patch)
treeb37ac0823379cc429121c8dc6bd913c940514be0 /activesupport/test/autoload_test.rb
parent55eba62a1074a4c1e70a9b96b78b3dbf812f5e9a (diff)
downloadrails-1d83ab936672790ea3abd407df8c16d696aaef70.tar.gz
rails-1d83ab936672790ea3abd407df8c16d696aaef70.tar.bz2
rails-1d83ab936672790ea3abd407df8c16d696aaef70.zip
Make sure AR can load without Rails
In #36560 I accidentally re-introduced a bug where ActiveRecord can't be used without Rails. This returns an empty hash if we're outside the context of Rails since we can't create the database tasks without loading and reading the database yaml which is something only Railties can do.
Diffstat (limited to 'activesupport/test/autoload_test.rb')
0 files changed, 0 insertions, 0 deletions