aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/config
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-06-10 13:52:22 +0200
committerYves Senn <yves.senn@gmail.com>2013-06-15 14:58:38 +0200
commit6d10d64cbafe70e343cef0f94e015908b9348ac5 (patch)
treeba2fda07a5f8508178f8fad2f1f38c10909dce37 /guides/code/getting_started/config
parentbe4fac3c0ce80b8a739bba21dba6ac6c1eca9987 (diff)
downloadrails-6d10d64cbafe70e343cef0f94e015908b9348ac5.tar.gz
rails-6d10d64cbafe70e343cef0f94e015908b9348ac5.tar.bz2
rails-6d10d64cbafe70e343cef0f94e015908b9348ac5.zip
fixture setup does not rely on `AR::Base.configurations`.
As you can also configure your database connection using `ENV["DATABASE_URL"]`, the fixture setup can't reply on the `.configurations` Hash. As the fixtures are only loaded when ActiveRecord is actually used (`rails/test_help.rb`) it should be safe to drop the check for an existing configuration.
Diffstat (limited to 'guides/code/getting_started/config')
0 files changed, 0 insertions, 0 deletions