aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/fixtures.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused private method yaml_fixtures_keyAlexey Muranov2012-05-111-3/+0
|
* Remove deprecated use of ::instantiate_fixturesAlexey Muranov2012-05-101-4/+4
|
* Deprecate ::instantiate_fixtures unused parameterAlexey Muranov2012-05-101-3/+22
| | | | | | Deprecate the use of AcitiveRecord::Fixtures::instantiate_fixtures(object, fixture_set_name, fixture_set, load_instances = true), use instead instantiate_fixtures(object, fixture_set, load_instances = true). To be changed in master branch.
* ensure @fixture_connections is initialized in case an exception happens ↵Aaron Patterson2011-12-101-0/+1
| | | | during setup
* Errno::ENOENT error makes more sense when a file cannot be foundAaron Patterson2011-12-101-10/+0
|
* Transactional fixtures enlist all active database connections.Jeremy Kemper2011-10-051-6/+18
| | | | You can use multiple databases in your tests without disabling transactional fixtures.
* Revert "Raise error on unknown primary key."Jon Leighton2011-10-051-1/+1
| | | | This reverts commit ee2be435b1e5c0e94a4ee93a1a310e0471a77d07.
* Raise error on unknown primary key.Jon Leighton2011-10-051-1/+1
| | | | | If we don't have a primary key when we ask for it, it's better to fail fast. Fixes GH #2307.
* restores the API docs of AR::Fixtures, made a quick pass over them, revises ↵Xavier Noria2011-09-031-368/+361
| | | | link in fixture template [closes #2840]
* Improve examples: use each instead of for...inGabe Berke-Williams2011-08-311-1/+1
|
* find(:all) => allAkira Matsuda2011-07-081-3/+3
|
* Merge branch 'master' of github.com:rails/railsXavier Noria2011-05-251-4/+0
|\
| * removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-4/+0
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-6/+6
|\ \ | |/ |/| | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb
| * Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-6/+6
| |
* | properly reference yml alias nodesdmathieu2011-05-241-2/+2
| | | | | | | | as per the last version of the yml specifications : http://www.yaml.org/spec/1.2/spec.html#* alias//
* | removing CSV fixture supportAaron Patterson2011-05-231-52/+10
| |
* | use top level file constant for join, etcAaron Patterson2011-05-231-4/+4
| |
* | adding AR::Fixtures::File class to wrap a fixture fileAaron Patterson2011-05-231-0/+1
|/
* deprecating CSV fixture supportAaron Patterson2011-05-101-54/+2
|
* deprecating read_csv_fixture_files methodAaron Patterson2011-05-101-0/+2
|
* Added deprecation warning for Fixture(s) (Use ActiveRecord::Fixture(s))Jason Noble2011-05-071-0/+3
|
* Namespace Fixtures in ActiveRecordJason Noble2011-05-071-285/+287
| | | [Fixes #439]
* table name needs to be classified when instantiating fixturesAaron Patterson2011-04-291-2/+4
|
* s/ERb/ERB/gAkira Matsuda2011-04-031-3/+3
| | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-181-36/+36
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association.rb activerecord/lib/active_record/fixtures.rb
| * fixture methods can be overridden and super() is usefulAaron Patterson2011-02-151-14/+17
| |
| * fixing variable names to reflect realityAaron Patterson2011-02-151-11/+11
| |
| * this is in the AR namespace, so AR must existAaron Patterson2011-02-151-1/+1
| |
| * fixing variable names, removing FixtureFile instances from test ivarsAaron Patterson2011-02-151-15/+14
| |
| * removing unused variableAaron Patterson2011-02-151-3/+1
| |
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-141/+131
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb
| * remove accidental raise!Aaron Patterson2011-02-141-1/+0
| |
| * removing irrelevant testAaron Patterson2011-02-141-0/+1
| |
| * remove unused methodsAaron Patterson2011-02-141-35/+0
| |
| * extract database activity out of Fixtures instancesAaron Patterson2011-02-141-7/+23
| |
| * extract rows that should be inserted to a methodAaron Patterson2011-02-141-12/+12
| |
| * fixtures will return a list of tables that may be effected, delete existing ↵Aaron Patterson2011-02-141-6/+25
| | | | | | | | fixtures will delete those tables
| * HabtmFixtures class is no longer neededAaron Patterson2011-02-141-31/+22
| |
| * key habtm fixtures off table nameAaron Patterson2011-02-111-5/+5
| |
| * Fixture class no longer needs a reference to the database connectionAaron Patterson2011-02-111-16/+4
| |
| * convert fixtures to a list of hashes to insertAaron Patterson2011-02-111-2/+6
| |
| * Fixtures class constantizes this value, so no need to do it twiceAaron Patterson2011-02-111-3/+3
| |
| * database quoting should take care of this, no need to gsubAaron Patterson2011-02-111-1/+1
| |
| * calculate model class on constructionAaron Patterson2011-02-111-16/+11
| |
| * clear cache for all connections when resettingAaron Patterson2011-02-111-4/+3
| |
| * avoid side effects from method calls, localize ivar assignmentAaron Patterson2011-02-111-3/+4
| |
| * create fixtures always returns a list, so build a hash from the listAaron Patterson2011-02-111-10/+2
| |
| * create_fixtures() should always return a listAaron Patterson2011-02-111-4/+4
| |
| * fixing variable namesAaron Patterson2011-02-111-4/+10
| |