aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* no use for set, no need to to_ary, reduce extra objectsAaron Patterson2010-12-201-3/+2
* use array arithmetic rather than create setsAaron Patterson2010-12-201-4/+2
* Avoid Symbol#to_proc for performance reasons in Ruby 1.8Jon Leighton2010-12-201-3/+3
* has_many associations with :dependent => :delete_all should update the counte...Jon Leighton2010-12-201-1/+3
* Refactor delete_records in HasManyAssociationJon Leighton2010-12-201-7/+8
* Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-9/+12
* Remove unnecessary overloaded methods create, create! and create_record from ...Jon Leighton2010-12-201-18/+0
* Refactor create_record and build_record in AssociationCollectionJon Leighton2010-12-201-17/+5
* Delete create, create! and create_record from HasManyThroughAssociation in ex...Jon Leighton2010-12-202-30/+14
* Specify insert_record with NotImplementedError in AssociationCollection, to i...Jon Leighton2010-12-204-11/+14
* Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-151-17/+9
* Replace rudimentary named_scope with scope. [#6052 state:resolved]Pavel Gorbokon2010-12-151-8/+8
* Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-163-2/+9
* Fix hm:t to self table aliasing in construct_scopeErnie Miller2010-12-161-2/+10
* class names are already strings, so we do not need to call to_s on the string...Aaron Patterson2010-12-161-2/+2
* build SQL AST nodes rather than generate stringsAaron Patterson2010-12-161-10/+8
* construct_joins no longer needs an argumentAaron Patterson2010-12-161-1/+1
* supporting arel AST nodes when building join statementsAaron Patterson2010-12-161-15/+17
* just copy the joins to the listAaron Patterson2010-12-161-1/+1
* taking advantage of the JoinSource node in the SQL ASTAaron Patterson2010-12-162-15/+6
* just use the regexp directlyAaron Patterson2010-12-161-6/+4
* combine regexpAaron Patterson2010-12-161-4/+2
* move ivar to initialize, use triple dot rather than minusAaron Patterson2010-12-161-1/+1
* explicitly set prefixAaron Patterson2010-12-161-1/+1
* remove lasgn since AST is mutatedAaron Patterson2010-12-161-2/+8
* use table alias nodes rather than Table nodesAaron Patterson2010-12-101-3/+2
* use alias nodes to represent table aliasesAaron Patterson2010-12-101-3/+2
* avoid *args on join_target_tableAaron Patterson2010-12-101-3/+5
* only quote the table name once per callAaron Patterson2010-12-101-6/+7
* move join creation a little closer to where it is usedAaron Patterson2010-12-091-3/+3
* use inject rather than lasgnAaron Patterson2010-12-091-6/+5
* removing useless lasgnAaron Patterson2010-12-091-1/+1
* use sort_byAaron Patterson2010-12-081-1/+1
* just allocate the table in initializeAaron Patterson2010-12-081-6/+4
* fewer method calls, fewer code branchesAaron Patterson2010-12-081-5/+4
* only call active_record onceAaron Patterson2010-12-081-2/+4
* dry up calls to table_aliasesAaron Patterson2010-12-081-4/+6
* remove code that could never be executedAaron Patterson2010-12-081-4/+0
* have table_aliases call count_aliases to set the default valueAaron Patterson2010-12-082-5/+3
* arel ignores the columns parameterAaron Patterson2010-12-081-2/+1
* passing the ast to a table when the relation is a tableAaron Patterson2010-12-071-2/+0
* JoinDependency is always created with an AST nowAaron Patterson2010-12-071-4/+10
* passing the ast to JoinDependencyAaron Patterson2010-12-071-2/+11
* arel is lazy about column information, so no need to pass it aroundAaron Patterson2010-12-071-1/+1
* reduce string objects, reduce method callsAaron Patterson2010-12-071-4/+5
* save the AR reference rather than delegatingAaron Patterson2010-12-071-4/+5
* remove calls to deprecated methodsAaron Patterson2010-12-021-2/+3
* removing more calls to deprecated methodsAaron Patterson2010-12-021-2/+3
* removing some calls to insert on arelAaron Patterson2010-12-021-3/+4
* no need for selfAaron Patterson2010-12-011-1/+1