Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the correct table name from fixture | Alexey Muranov | 2011-12-28 | 1 | -2/+2 |
| | | | | Fixed a bug in fixtures.rb where the table name was incorrectly inferred from the fixture path which was ambiguously called "table_name" but was also used as the fixture name. Now, the "correct" table name is taken from an instance variable. | ||||
* | Fixtures support for ActiveRecord::Model | Jon Leighton | 2011-12-24 | 1 | -1/+1 |
| | |||||
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger | Aaron Patterson | 2011-12-19 | 1 | -1/+0 |
| | | | | from Ruby stdlib. | ||||
* | ensure @fixture_connections is initialized in case an exception happens ↵ | Aaron Patterson | 2011-12-10 | 1 | -0/+1 |
| | | | | during setup | ||||
* | Errno::ENOENT error makes more sense when a file cannot be found | Aaron Patterson | 2011-12-10 | 1 | -10/+0 |
| | |||||
* | Transactional fixtures enlist all active database connections. | Jeremy Kemper | 2011-10-05 | 1 | -6/+18 |
| | | | | You can use multiple databases in your tests without disabling transactional fixtures. | ||||
* | Revert "Raise error on unknown primary key." | Jon Leighton | 2011-10-05 | 1 | -1/+1 |
| | | | | This reverts commit ee2be435b1e5c0e94a4ee93a1a310e0471a77d07. | ||||
* | Raise error on unknown primary key. | Jon Leighton | 2011-10-05 | 1 | -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 Noria | 2011-09-03 | 1 | -368/+361 |
| | | | | link in fixture template [closes #2840] | ||||
* | Improve examples: use each instead of for...in | Gabe Berke-Williams | 2011-08-31 | 1 | -1/+1 |
| | |||||
* | find(:all) => all | Akira Matsuda | 2011-07-08 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' of github.com:rails/rails | Xavier Noria | 2011-05-25 | 1 | -4/+0 |
|\ | |||||
| * | removed deprecated methods, and related tests, from ActiveRecord | Josh Kalderimis | 2011-05-25 | 1 | -4/+0 |
| | | |||||
* | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-25 | 1 | -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 Martinez | 2011-05-23 | 1 | -6/+6 |
| | | |||||
* | | properly reference yml alias nodes | dmathieu | 2011-05-24 | 1 | -2/+2 |
| | | | | | | | | as per the last version of the yml specifications : http://www.yaml.org/spec/1.2/spec.html#* alias// | ||||
* | | removing CSV fixture support | Aaron Patterson | 2011-05-23 | 1 | -52/+10 |
| | | |||||
* | | use top level file constant for join, etc | Aaron Patterson | 2011-05-23 | 1 | -4/+4 |
| | | |||||
* | | adding AR::Fixtures::File class to wrap a fixture file | Aaron Patterson | 2011-05-23 | 1 | -0/+1 |
|/ | |||||
* | deprecating CSV fixture support | Aaron Patterson | 2011-05-10 | 1 | -54/+2 |
| | |||||
* | deprecating read_csv_fixture_files method | Aaron Patterson | 2011-05-10 | 1 | -0/+2 |
| | |||||
* | Added deprecation warning for Fixture(s) (Use ActiveRecord::Fixture(s)) | Jason Noble | 2011-05-07 | 1 | -0/+3 |
| | |||||
* | Namespace Fixtures in ActiveRecord | Jason Noble | 2011-05-07 | 1 | -285/+287 |
| | | | [Fixes #439] | ||||
* | table name needs to be classified when instantiating fixtures | Aaron Patterson | 2011-04-29 | 1 | -2/+4 |
| | |||||
* | s/ERb/ERB/g | Akira Matsuda | 2011-04-03 | 1 | -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_map | Emilio Tagua | 2011-02-18 | 1 | -36/+36 |
|\ | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association.rb activerecord/lib/active_record/fixtures.rb | ||||
| * | fixture methods can be overridden and super() is useful | Aaron Patterson | 2011-02-15 | 1 | -14/+17 |
| | | |||||
| * | fixing variable names to reflect reality | Aaron Patterson | 2011-02-15 | 1 | -11/+11 |
| | | |||||
| * | this is in the AR namespace, so AR must exist | Aaron Patterson | 2011-02-15 | 1 | -1/+1 |
| | | |||||
| * | fixing variable names, removing FixtureFile instances from test ivars | Aaron Patterson | 2011-02-15 | 1 | -15/+14 |
| | | |||||
| * | removing unused variable | Aaron Patterson | 2011-02-15 | 1 | -3/+1 |
| | | |||||
* | | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-15 | 1 | -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 Patterson | 2011-02-14 | 1 | -1/+0 |
| | | |||||
| * | removing irrelevant test | Aaron Patterson | 2011-02-14 | 1 | -0/+1 |
| | | |||||
| * | remove unused methods | Aaron Patterson | 2011-02-14 | 1 | -35/+0 |
| | | |||||
| * | extract database activity out of Fixtures instances | Aaron Patterson | 2011-02-14 | 1 | -7/+23 |
| | | |||||
| * | extract rows that should be inserted to a method | Aaron Patterson | 2011-02-14 | 1 | -12/+12 |
| | | |||||
| * | fixtures will return a list of tables that may be effected, delete existing ↵ | Aaron Patterson | 2011-02-14 | 1 | -6/+25 |
| | | | | | | | | fixtures will delete those tables | ||||
| * | HabtmFixtures class is no longer needed | Aaron Patterson | 2011-02-14 | 1 | -31/+22 |
| | | |||||
| * | key habtm fixtures off table name | Aaron Patterson | 2011-02-11 | 1 | -5/+5 |
| | | |||||
| * | Fixture class no longer needs a reference to the database connection | Aaron Patterson | 2011-02-11 | 1 | -16/+4 |
| | | |||||
| * | convert fixtures to a list of hashes to insert | Aaron Patterson | 2011-02-11 | 1 | -2/+6 |
| | | |||||
| * | Fixtures class constantizes this value, so no need to do it twice | Aaron Patterson | 2011-02-11 | 1 | -3/+3 |
| | | |||||
| * | database quoting should take care of this, no need to gsub | Aaron Patterson | 2011-02-11 | 1 | -1/+1 |
| | | |||||
| * | calculate model class on construction | Aaron Patterson | 2011-02-11 | 1 | -16/+11 |
| | | |||||
| * | clear cache for all connections when resetting | Aaron Patterson | 2011-02-11 | 1 | -4/+3 |
| | | |||||
| * | avoid side effects from method calls, localize ivar assignment | Aaron Patterson | 2011-02-11 | 1 | -3/+4 |
| | | |||||
| * | create fixtures always returns a list, so build a hash from the list | Aaron Patterson | 2011-02-11 | 1 | -10/+2 |
| | | |||||
| * | create_fixtures() should always return a list | Aaron Patterson | 2011-02-11 | 1 | -4/+4 |
| | | |||||
| * | fixing variable names | Aaron Patterson | 2011-02-11 | 1 | -4/+10 |
| | |