1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

this is in the AR namespace, so AR must exist

This commit is contained in:
Aaron Patterson 2011-02-15 15:05:00 -08:00
parent ef57334210
commit 13e72db770

View file

@ -915,7 +915,7 @@ module ActiveRecord
end
def setup_fixtures
return unless defined?(ActiveRecord) && !ActiveRecord::Base.configurations.blank?
return unless !ActiveRecord::Base.configurations.blank?
if pre_loaded_fixtures && !use_transactional_fixtures
raise RuntimeError, 'pre_loaded_fixtures requires use_transactional_fixtures'