1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/fixtures
Graeme Porteous c01be9de32 Fix has_one with foreign_key and primary_key association bug which caused the associated object being lost when saving the owner. [#1756 state:resolved]
Mixed in a bit from patch by ransom-briggs. [#2813 state:resolved]

Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
2009-09-12 16:03:32 +02:00
..
all Added fixtures :all to test_helper.rb to assume that most people just want all their fixtures loaded all the time [DHH] Added fixtures :all as a way of loading all fixtures in the fixture directory at once (closes #7214) [manfred] 2007-02-25 17:31:43 +00:00
categories Add missing fixtures for #3937. 2006-02-28 17:46:16 +00:00
naked Added tree mixin and unit tests for all the mixins 2004-12-15 00:46:26 +00:00
reserved_words Quote table names. Defaults to column quoting. Closes #4593. 2007-10-16 05:06:33 +00:00
.gitignore Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
accounts.yml Fix has_one with foreign_key and primary_key association bug which caused the associated object being lost when saving the owner. [#1756 state:resolved] 2009-09-12 16:03:32 +02:00
author_addresses.yml Add missing author_addresses.yml fixture. Closes #10592. 2008-01-21 17:21:12 +00:00
author_favorites.yml add self referential has_many :through example [Rick] 2006-03-21 01:07:16 +00:00
authors.yml belongs_to supports :dependent => :destroy and :delete. Closes #10592. 2008-01-19 05:30:42 +00:00
binaries.yml Use a smaller binary fixture so we don't overflow column size limitations in some commercial / legacy databases. Closes #7987 [roderickvd, lawrence] 2007-10-17 21:35:46 +00:00
books.yml Fix has_many :through delete with custom foreign keys. Closes #6466. 2007-10-27 18:51:32 +00:00
categories.yml Fixed that single-table inheritance sub-classes couldn't be used to limit the result set with eager loading #1215 [Chris McGrath] 2005-07-03 08:21:22 +00:00
categories_ordered.yml Fixtures: fix YAML ordered map support. Closes #2665. 2007-03-09 02:06:50 +00:00
categories_posts.yml Use association's :conditions when eager loading. [jeremyevans0@gmail.com] closes #4144 2006-03-16 06:17:54 +00:00
categorizations.yml Allow :uniq => true with has_many :through associations. 2006-05-06 23:37:56 +00:00
clubs.yml Add has_one :through support, finally. Closes #4756 [thechrisoshow] 2008-03-21 18:09:03 +00:00
comments.yml Remove duplicate fixture entry in comments.yml. Closes #4923. [Blair Zajac <blair@orcaware.com>] 2006-04-29 05:02:54 +00:00
companies.yml Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved]"" 2009-07-01 00:02:00 +01:00
computers.yml Added compatibility with camelCase column names for dynamic finders #533 [Dee.Zsombor] 2005-04-30 15:49:28 +00:00
courses.yml Added new Base.find API and deprecated find_all, find_first. Added preliminary support for eager loading of associations 2005-04-03 10:52:05 +00:00
customers.yml Added :constructor and :converter options to composed_of and deprecated the conversion block 2008-09-10 18:28:47 +02:00
developers.yml Sanitize scoped conditions. 2006-01-04 03:43:28 +00:00
developers_projects.yml fix test_find_in_association_with_options test, tweak other tests affected by developer/project addition 2006-03-16 03:24:40 +00:00
edges.yml Revert "Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted." 2009-09-02 13:55:47 -07:00
entrants.yml Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt]. Converted all the fixtures to YAML style ones. 2005-01-01 19:22:16 +00:00
faces.yml Providing support for :inverse_of as an option to associations. 2009-05-04 15:27:39 -07:00
fk_test_has_fk.yml Fixed that fixtures were being deleted in the same order as inserts causing FK errors #890 [andrew.john.peters@gmail.com] 2005-04-18 07:52:58 +00:00
fk_test_has_pk.yml Fixed that fixtures were being deleted in the same order as inserts causing FK errors #890 [andrew.john.peters@gmail.com] 2005-04-18 07:52:58 +00:00
funny_jokes.yml Fixtures: correct escaping of \n and \r. Closes #5859. 2006-08-24 01:50:24 +00:00
interests.yml Providing support for :inverse_of as an option to associations. 2009-05-04 15:27:39 -07:00
items.yml Fix polymorphic has_one associations declared in an abstract class. Closes #8638. 2007-06-25 22:42:19 +00:00
jobs.yml Ensure table names are quoted by the association preloading code. 2008-04-26 12:14:50 +12:00
legacy_things.yml allow the 'lock_version' column to be configured with set_locking_column. Closes #3402 2006-01-14 09:36:52 +00:00
mateys.yml Fixed that create table with :id => false and fixtures don't play nice together (closes #10154) [jbarnette] 2007-11-25 22:08:38 +00:00
member_types.yml Fix preloading of has_one :through associations on belongs_to [#1507 state:resolved] 2008-12-18 19:19:36 +00:00
members.yml Fix preloading of has_one :through associations on belongs_to [#1507 state:resolved] 2008-12-18 19:19:36 +00:00
memberships.yml Add has_one :through support, finally. Closes #4756 [thechrisoshow] 2008-03-21 18:09:03 +00:00
men.yml Providing support for :inverse_of as an option to associations. 2009-05-04 15:27:39 -07:00
minimalistics.yml Missed the add 2007-10-06 01:03:19 +00:00
mixed_case_monkeys.yml Consistently quote primary key column names. Closes #7763. 2007-03-09 03:23:37 +00:00
mixins.yml Moved acts_as_tree into a plugin of the same name on the official Rails svn (closes #9514) [lifofifo] 2007-09-11 03:25:59 +00:00
movies.yml Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt]. Converted all the fixtures to YAML style ones. 2005-01-01 19:22:16 +00:00
organizations.yml Revert "Fixed bug with polymorphic has_one :as pointing to an STI record" 2009-05-11 12:20:54 -07:00
owners.yml Fixed preloading belongs_to associations which reference a custom foreign key. References #9640. 2008-01-31 07:50:15 +00:00
parrots.yml Foxy fixtures: support single-table inheritance. Closes #10234. 2007-11-26 22:46:11 +00:00
parrots_pirates.yml Foxy fixtures. Adapter#disable_referential_integrity. Closes #9981. 2007-10-26 05:56:46 +00:00
people.yml Fixed limited eager loading associations with numbers in the name [#2668 state:resolved] 2009-05-18 13:56:17 +02:00
pets.yml Fixed preloading belongs_to associations which reference a custom foreign key. References #9640. 2008-01-31 07:50:15 +00:00
pirates.yml Foxy fixtures. Adapter#disable_referential_integrity. Closes #9981. 2007-10-26 05:56:46 +00:00
posts.yml Fix that counter_cache breaks with has_many :dependent => :nullify. 2009-08-09 21:18:16 -07:00
price_estimates.yml Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondratenko] 2008-02-02 03:27:31 +00:00
projects.yml Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt]. Converted all the fixtures to YAML style ones. 2005-01-01 19:22:16 +00:00
readers.yml Make dynamic finders respect the :include on HasManyThrough associations. Closes #10998. [cpytel] 2008-02-18 00:14:54 +00:00
references.yml Ensure table names are quoted by the association preloading code. 2008-04-26 12:14:50 +12:00
ships.yml Foxy fixtures: allow mixed usage to make migration easier and more attractive. Closes #10004. 2007-11-26 22:45:43 +00:00
sponsors.yml Revert "Fixed bug with polymorphic has_one :as pointing to an STI record" 2009-05-11 12:20:54 -07:00
subscribers.yml Fixtures: removed support for the ancient pre-YAML file format. Closes #10736. 2008-01-08 03:54:40 +00:00
subscriptions.yml Added missing files 2008-05-01 15:03:16 -05:00
taggings.yml Fix preloading nil polymorphic belongs_to. Closes #11218 [matrix9180] 2008-02-27 22:41:35 +00:00
tags.yml Fixed :through relations when using STI inherited classes would use the inherited class's name as foreign key on the join model 2005-12-16 23:24:58 +00:00
tasks.yml Fixed that Date was in incorrect format in tasks.yml (closes #4072) [mlaster@metavillage.com] 2006-03-04 17:17:43 +00:00
topics.yml Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen] 2008-03-24 02:50:02 +00:00
toys.yml Ensure has_many :through works with changed primary keys [#736 state:resolved] 2009-03-09 13:43:28 +00:00
treasures.yml Add 'foxy' support for fixtures of polymorphic associations. Closes #10183 [jbarnette, David Lowenfels] 2007-11-20 21:53:22 +00:00
vertices.yml Included associations: go deep. 2006-08-16 18:10:52 +00:00
warehouse-things.yml More thoroughly quote table names. Exposes some issues with sqlite2 adapter. Closes #10698. 2008-01-05 14:58:28 +00:00
zines.yml Providing support for :inverse_of as an option to associations. 2009-05-04 15:27:39 -07:00