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:
parent
ef57334210
commit
13e72db770
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue