Permalink
Browse files

this is in the AR namespace, so AR must exist

  • Loading branch information...
tenderlove committed Feb 15, 2011
1 parent ef57334 commit 13e72db77063f57c3028a906690d42fb068845bb
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/fixtures.rb
@@ -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'

0 comments on commit 13e72db

Please sign in to comment.