Browse files

changing fixtures back to superclass_delegating_accessor until we can…

… convert them to class_attributes
  • Loading branch information...
1 parent fb615cd commit c2d13a9a535c80e4ecad544510001865888d6d3e @tenderlove tenderlove committed Jul 17, 2010
Showing with 6 additions and 6 deletions.
  1. +6 −6 activerecord/lib/active_record/fixtures.rb
View
12 activerecord/lib/active_record/fixtures.rb
@@ -813,12 +813,12 @@ def self.included(base)
setup :setup_fixtures
teardown :teardown_fixtures
- class_attribute :fixture_path
- class_attribute :fixture_table_names
- class_attribute :fixture_class_names
- class_attribute :use_transactional_fixtures
- class_attribute :use_instantiated_fixtures # true, false, or :no_instances
- class_attribute :pre_loaded_fixtures
+ superclass_delegating_accessor :fixture_path
+ superclass_delegating_accessor :fixture_table_names
+ superclass_delegating_accessor :fixture_class_names
+ superclass_delegating_accessor :use_transactional_fixtures
+ superclass_delegating_accessor :use_instantiated_fixtures # true, false, or :no_instances
+ superclass_delegating_accessor :pre_loaded_fixtures
self.fixture_table_names = []
self.use_transactional_fixtures = false

0 comments on commit c2d13a9

Please sign in to comment.