diff options
author | AvnerCohen <israbirding@gmail.com> | 2012-11-10 17:16:21 +0200 |
---|---|---|
committer | AvnerCohen <israbirding@gmail.com> | 2012-11-10 17:16:21 +0200 |
commit | 890da5149df19c54124929ff8b533014b6b46e69 (patch) | |
tree | 6a7f19b90ab939482e94b5af5a32d76057a2e708 /activerecord/lib/active_record/fixtures.rb | |
parent | dcf401e3bc7163aefab856abe7f1d238025c4ef9 (diff) | |
download | rails-890da5149df19c54124929ff8b533014b6b46e69.tar.gz rails-890da5149df19c54124929ff8b533014b6b46e69.tar.bz2 rails-890da5149df19c54124929ff8b533014b6b46e69.zip |
1.9 Syntax related changes
Diffstat (limited to 'activerecord/lib/active_record/fixtures.rb')
-rw-r--r-- | activerecord/lib/active_record/fixtures.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 29a99a5336..c1c05eb8fb 100644 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -250,7 +250,7 @@ module ActiveRecord # # ### in fruit.rb # - # belongs_to :eater, :polymorphic => true + # belongs_to :eater, polymorphic: true # # ### in fruits.yml # @@ -730,7 +730,7 @@ module ActiveRecord # # Examples: # - # set_fixture_class :some_fixture => SomeModel, + # set_fixture_class some_fixture: SomeModel, # 'namespaced/fixture' => Another::Model # # The keys must be the fixture names, that coincide with the short paths to the fixture files. |