aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* Fixed ordering in test_find_in_association_with_custom_finder_sql_and_multipl...Tarmo Tänav2008-08-221-1/+1
* Fix generated WHERE IN query for named scopes. [#583 state:resolved]Philip Hallstrom2008-08-211-0/+2
* Test for eager loading of STI subclasses from htm associationsTarmo Tänav2008-08-161-0/+3
* Fix file permissionsTarmo Tänav2008-07-313-0/+0
* Use klass.sti_name to make sure associations take store_full_sti_class into a...Daniel Guettler2008-07-221-0/+7
* Add :accessible option to Associations for allowing mass assignments using ha...David Dollar2008-07-142-1/+7
* Ensure NamedScope#build/create/create!/new works as expected when named scope...Daniel Guettler2008-07-091-0/+2
* Add support for :primary_key option to has_one as well as has_many so that a ...Brad Greenlee2008-07-061-0/+1
* Add has_many :primary_key option to allow setting the primary key on a has ma...Andre Arko2008-07-061-0/+2
* Add extra hash conditions tests for named_scopePratik Naik2008-06-281-0/+1
* Fix column collision with named_scope and :joins. [#46 state:resolved]Mark Catley2008-06-221-1/+6
* Fixed that scopes defined with a string name could not be composedTarmo Tänav2008-06-221-0/+1
* fix mergerick2008-06-192-2/+5
|\
| * Disable validations for associated belongs_to record by defaultPratik Naik2008-06-111-2/+2
| * Add :validate option to associations. [#301 state:resolved]Jan De Poorter2008-06-112-1/+4
* | fix eager loading with dynamic findersBrandon Keepers2008-06-093-1/+3
|/
* Fix faulty tests introduced in 8d0b4fa39Michael Koziarski2008-05-241-1/+1
* Added :select option to has_one and belongs_to, remove unused :order option o...josevalim2008-05-241-0/+2
* Add ActiveRecord option to store the full class name on STI's type column, al...Rodrigo Kochenburger2008-05-131-0/+4
* Dirty attributes aren't cleared if save fails. [#174 state:resolved]Xavier Noria2008-05-121-0/+2
* Ensure hm:t preloading honours reflection options. [#137 state:resolved]Frederick Cheung2008-05-111-0/+4
* Fix validates_uniqueness_of for SQL keywords [#23 state:resolved]Alex MacCaw2008-05-111-0/+2
* Calling ActiveRecord#inspect on an unloaded association won't wipe the collec...Andreas Neuhaus2008-05-081-0/+4
* Ensure correct record is returned when preloading has_one where more than one...Frederick Cheung2008-05-061-0/+2
* Added missing filesDavid Heinemeier Hansson2008-05-011-0/+4
* Fixed AssociationsPreload such that it doesnt require foreign keys to be inte...David Heinemeier Hansson2008-04-301-0/+2
* Change tests against all scope to base scope as all is now used as a finder a...David Heinemeier Hansson2008-04-302-0/+3
* Ensure table names are quoted by the association preloading code.Frederick Cheung2008-04-263-0/+14
* Improve ActiveRecord::Base#table_name unit tests for nested classes. Closes #...Josh Peek2008-04-071-0/+2
* Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Associ...Pratik Naik2008-04-061-0/+14
* Ruby 1.9 compat: work around YAML serialization error exposed by validations ...Jeremy Kemper2008-04-011-3/+2
* Fixed that has_many :through would ignore the hash conditions (closes #11447)...David Heinemeier Hansson2008-03-281-0/+5
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-244-0/+34
* has_one :through supports :source_type. Fix up some tests. References #4756.Jeremy Kemper2008-03-221-1/+2
* Allow association scoping for built/created records if :conditions is specifi...Rick Olson2008-03-211-0/+3
* Add has_one :through support, finally. Closes #4756 [thechrisoshow]Rick Olson2008-03-214-0/+28
* Add :readonly option to HasManyThrough associations. Closes #11156 [miloops]Pratik Naik2008-03-071-1/+2
* Make dynamic finders respect the :include on HasManyThrough associations. Cl...Michael Koziarski2008-02-182-1/+2
* Introduce the :readonly option to all associations. Records from the associat...Jeremy Kemper2008-02-132-0/+4
* Revert r8742: remove has_many with :group option since it has sketchy sql sup...Jeremy Kemper2008-02-031-1/+0
* Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondrate...Jeremy Kemper2008-02-023-1/+8
* Fixed preloading belongs_to associations which reference a custom foreign key...Jeremy Kemper2008-01-312-0/+8
* Make sure count works on has_many :through associations using :group. Closes...Michael Koziarski2008-01-271-0/+1
* Make sure that belongs_to counter decrements when assigning nil Closes #10804...Michael Koziarski2008-01-261-2/+2
* belongs_to supports :dependent => :destroy and :delete. Closes #10592.Jeremy Kemper2008-01-191-1/+13
* Introduce preload query strategy for eager :includes. Closes #9640.Jeremy Kemper2008-01-191-0/+3
* Fix pathsJeremy Kemper2008-01-181-1/+1
* move assets and modelsJeremy Kemper2008-01-1845-0/+786