aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge scoped :joins together instead of overwriting them. May expose scoping ...Andrew White2008-08-281-2/+2
* Refactored AssociationCollection#count for uniformity and Ruby 1.8.7 support.Ernie Miller2008-08-281-0/+3
* Fix two has_one :through errorspivotal2008-08-271-3/+2
* Load the first and not the last has_one result when doing join-based eager lo...Tarmo Tänav2008-08-251-0/+1
* Implement old-skool eagerloading for has_one :throughFrederick Cheung2008-08-251-2/+2
* Don't interpret decimals as table names in ActiveRecord::Associations::ClassM...Peter Wagenet2008-08-211-3/+3
* Fixed STI type condition for eager loading of associationsTarmo Tänav2008-08-161-4/+2
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
* Merge docrails changesPratik Naik2008-07-281-134/+284
* Use klass.sti_name to make sure associations take store_full_sti_class into a...Daniel Guettler2008-07-221-2/+2
* Merge with docrails.Pratik Naik2008-07-161-3/+4
* Fixed postgresql limited eager loading for the case where scoped :order was p...Tarmo Tänav2008-07-141-3/+8
* Add :accessible option to Associations for allowing mass assignments using ha...David Dollar2008-07-141-4/+10
* Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved]Cheah Chu Yeow2008-07-091-2/+2
* Add support for :primary_key option to has_one as well as has_many so that a ...Brad Greenlee2008-07-061-1/+2
* Add has_many :primary_key option to allow setting the primary key on a has ma...Andre Arko2008-07-061-2/+3
* Make sure associated has_many/habtm objects get saved even when :validate => ...Jan De Poorter2008-06-271-7/+12
* fix mergerick2008-06-191-9/+19
|\
| * Update docs to reflect 71bf75Pratik Naik2008-06-111-1/+1
| * Disable validations for associated belongs_to record by defaultPratik Naik2008-06-111-1/+1
| * Add :validate option to associations. [#301 state:resolved]Jan De Poorter2008-06-111-8/+16
| * Fix conditions and order on join tables with limited eager loading. [#372 st...Tiago Macedo2008-06-081-1/+3
* | fix eager loading with dynamic findersBrandon Keepers2008-06-091-1/+1
|/
* Merge docrails.Pratik Naik2008-05-251-57/+67
* Added :select option to has_one and belongs_to, remove unused :order option o...josevalim2008-05-241-7/+9
* Merge documentation changes from docrails.Pratik Naik2008-05-161-0/+2
* DRY associations code and improve eager loading tests.Pratik Naik2008-05-151-20/+5
* Make sure needed table joins are included :select option. [#110 state:resolved]John Devine2008-05-151-1/+15
* Merge docrails:Pratik Naik2008-05-091-137/+138
* Added logic to associations.rb to make sure select_for_limited_idsJohn Devine2008-05-061-1/+24
* Revert "Ensure that save on child object fails for invalid belongs_to associa...Michael Koziarski2008-04-111-2/+0
* Ensure that save on child object fails for invalid belongs_to association. Cl...Pratik Naik2008-04-101-0/+2
* Ensure that save on parent object fails for invalid has_one association. Clos...Pratik Naik2008-04-061-0/+13
* Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Associ...Pratik Naik2008-04-061-10/+17
* Improve documentation.Pratik Naik2008-04-051-4/+4
* Fix duplicate table alias error when including an association with a has_many...Rick Olson2008-03-261-25/+27
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-241-1/+1
* has_one :through supports :source_type. Fix up some tests. References #4756.Jeremy Kemper2008-03-221-1/+1
* Allow association scoping for built/created records if :conditions is specifi...Rick Olson2008-03-211-3/+7
* Add has_one :through support, finally. Closes #4756 [thechrisoshow]Rick Olson2008-03-211-15/+41
* Docfixes (closes #11356, #11172, #10523)David Heinemeier Hansson2008-03-201-0/+3
* Improve performance on :include/:conditions/:limit queries by selectively joi...Michael Koziarski2008-03-031-10/+27
* Fix that batched :include would pull in duplicate records in some cases. Clos...Jeremy Kemper2008-02-281-2/+4
* Improve associations performance by using symbol callbacks instead of string ...Rick Olson2008-02-141-50/+90
* Introduce the :readonly option to all associations. Records from the associat...Jeremy Kemper2008-02-131-5/+13
* Fix eager loading with pre-quoted table names. Closes #11046 [danielmorrison,...Michael Koziarski2008-02-111-2/+2
* Revert r8742: remove has_many with :group option since it has sketchy sql sup...Jeremy Kemper2008-02-031-6/+0
* Make sure count works on has_many :through associations using :group. Closes...Michael Koziarski2008-01-271-0/+6
* Indicate in documentation that newer version of AR support eager loading in p...Marcel Molina2008-01-231-1/+5
* belongs_to supports :dependent => :destroy and :delete. Closes #10592.Jeremy Kemper2008-01-191-0/+19