diff options
author | Alexey Muranov <alexey.muranov@gmail.com> | 2012-05-12 13:17:03 +0200 |
---|---|---|
committer | Alexey Muranov <alexey.muranov@gmail.com> | 2012-10-07 19:15:58 +0200 |
commit | a94220b66c9e4890007f66b092b25f8a64a19d31 (patch) | |
tree | b436fe60abb6c4c20589d37b3f27be5d61609a80 /activerecord/lib/active_record/fixtures | |
parent | 918f7038b3d4d4180a4d1056bb4b7b3f3b85508f (diff) | |
download | rails-a94220b66c9e4890007f66b092b25f8a64a19d31.tar.gz rails-a94220b66c9e4890007f66b092b25f8a64a19d31.tar.bz2 rails-a94220b66c9e4890007f66b092b25f8a64a19d31.zip |
Rename "Fixtures" class to "FixtureSet"
Rename `ActiveRecord::Fixtures` class to `ActiveRecord::FixtureSet`. Instances of this class normally hold a collection of fixtures (records) loaded either from a single YAML file, or from a file and a folder with the same name. This change make the class name singular and makes the class easier to distinguish from the modules like `ActiveRecord::TestFixtures`, which operates on multiple fixture sets, or `DelegatingFixtures`, `::Fixtures`, etc., and from the class `ActiveRecord::Fixture`, which corresponds to a single fixture.
Diffstat (limited to 'activerecord/lib/active_record/fixtures')
-rw-r--r-- | activerecord/lib/active_record/fixtures/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/fixtures/file.rb b/activerecord/lib/active_record/fixtures/file.rb index 0f6ab3e396..11b53275e1 100644 --- a/activerecord/lib/active_record/fixtures/file.rb +++ b/activerecord/lib/active_record/fixtures/file.rb @@ -2,7 +2,7 @@ require 'erb' require 'yaml' module ActiveRecord - class Fixtures + class FixtureSet class File # :nodoc: include Enumerable |