mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
replacing superclass_delegating_accessor with class_attribute
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
parent
a64cc69d61
commit
d8db5714aa
1 changed files with 6 additions and 6 deletions
|
@ -827,12 +827,12 @@ module ActiveRecord
|
|||
setup :setup_fixtures
|
||||
teardown :teardown_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
|
||||
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
|
||||
|
||||
self.fixture_table_names = []
|
||||
self.use_transactional_fixtures = true
|
||||
|
|
Loading…
Reference in a new issue