Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

this is in the AR namespace, so AR must exist

  • Loading branch information...
commit 13e72db77063f57c3028a906690d42fb068845bb 1 parent ef57334
Aaron Patterson tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/fixtures.rb
2  activerecord/lib/active_record/fixtures.rb
View
@@ -915,7 +915,7 @@ def run_in_transaction?
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'
Please sign in to comment.
Something went wrong with that request. Please try again.