diff options
author | wangjohn <wangjohn@mit.edu> | 2013-08-24 04:11:18 -0400 |
---|---|---|
committer | wangjohn <wangjohn@mit.edu> | 2013-08-24 23:28:40 -0400 |
commit | bac384e85f6c4232a2ffcd9829d18896fc422e89 (patch) | |
tree | 193617aba59255d96e0f174587cf36039b7ea36a /guides/source/active_record_basics.md | |
parent | 539180cf8edaa405928162644dc617b4c179edff (diff) | |
download | rails-bac384e85f6c4232a2ffcd9829d18896fc422e89.tar.gz rails-bac384e85f6c4232a2ffcd9829d18896fc422e89.tar.bz2 rails-bac384e85f6c4232a2ffcd9829d18896fc422e89.zip |
Removing instances of string class_names in fixtures.
Also, constantizing the default_fixture_model_name when it gets loaded
in from the file. Later, when the class_name is passed to a new
FixtureSet, a deprecation warning will occur if the class_name is a
string.
Diffstat (limited to 'guides/source/active_record_basics.md')
-rw-r--r-- | guides/source/active_record_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index bff60efc33..a80c3b6c8e 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -181,7 +181,7 @@ definition: ```ruby class FunnyJoke < ActiveSupport::TestCase - set_fixture_class funny_jokes: 'Joke' + set_fixture_class funny_jokes: Joke fixtures :funny_jokes ... end |