aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/through_association_scope.rb
Commit message (Collapse)AuthorAgeFilesLines
* removing unused variablesAaron Patterson2010-11-221-2/+2
|
* Refactoring: replace the mix of variables like @finder_sql, @counter_sql, ↵Jon Leighton2010-10-301-10/+14
| | | | etc with just a single scope hash (created on initialization of the proxy). This is now used consistently across all associations. Therefore, all you have to do to ensure finding/counting etc is done correctly is implement the scope correctly.
* string IDs are now quoted correctly [#5064 state:resolved]Will St. Clair + Neeraj Singh2010-07-131-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Adds title to activerecord/lib/active_record/associations/*Rizwan Reza2010-06-161-0/+1
|
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
|
* Sanitize association conditions using the correct classCarl Lerche2010-04-031-1/+1
|
* Make type_condition return Arel predicate and not a string conditionPratik Naik2010-01-161-1/+1
|
* Make scopes use relations under the hoodPratik Naik2010-01-161-2/+1
|
* Merge commit 'rails/master'Emilio Tagua2009-08-101-1/+1
|\ | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * Enable has_many :through for going through a has_one association on the join ↵Gabe da Silveira2009-08-101-1/+1
| | | | | | | | | | | | model [#2719 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Merge commit 'rails/master'Emilio Tagua2009-06-231-0/+7
|\|
| * Ensure hm:t#create respects source associations hash conditions [#2090 ↵mattbauer2009-06-211-0/+7
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Leave the quoting part to ARelEmilio Tagua2009-06-121-1/+1
|/
* HasOneThroughAssociation still shouldn't derive from HasManyThroughAssociation.Adam Milligan2009-06-121-0/+147
[#1642 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>