aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/class_methods/join_dependency.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move JoinDependency and friends from ↵Jon Leighton2011-02-281-233/+0
| | | | ActiveRecord::Associations::ClassMethods to just ActiveRecord::Associations
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-181-7/+7
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association.rb activerecord/lib/active_record/fixtures.rb
| * Split AssociationProxy into an Association class (and subclasses) which ↵Jon Leighton2011-02-181-7/+7
| | | | | | | | manages the association, and a CollectionProxy class which is *only* a proxy. Singular associations no longer have a proxy. See CHANGELOG for more.
* | Don't shadow outer local variable.Emilio Tagua2011-02-151-2/+2
|/
* Rename AssociationProxy#loaded to loaded! as it mutates the associationJon Leighton2011-01-301-1/+1
|
* Get rid of set_association_target and association_loaded? as the parts of ↵Jon Leighton2011-01-111-1/+2
| | | | the code that need that can now just use association_proxy(:name).loaded?/target=
* just use a hash for doing association cachingAaron Patterson2011-01-071-2/+2
|
* Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst ↵Jon Leighton2010-12-261-2/+2
| | | | other things
* taking advantage of the JoinSource node in the SQL ASTAaron Patterson2010-12-161-14/+6
|
* just use the regexp directlyAaron Patterson2010-12-161-6/+4
|
* combine regexpAaron Patterson2010-12-161-4/+2
|
* only quote the table name once per callAaron Patterson2010-12-101-6/+7
|
* use sort_byAaron Patterson2010-12-081-1/+1
|
* have table_aliases call count_aliases to set the default valueAaron Patterson2010-12-081-1/+3
|
* 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
|
* reduce string objects, reduce method callsAaron Patterson2010-12-071-4/+5
|
* save the AR reference rather than delegatingAaron Patterson2010-12-071-4/+5
|
* JoinBase initialize can be deletedAaron Patterson2010-11-301-2/+3
|
* alias should be a SQL literalAaron Patterson2010-11-241-1/+1
|
* adding a factory method to the join part for generating a table aliasAaron Patterson2010-11-241-1/+1
|
* use ARel rather than generate SQL stringsAaron Patterson2010-11-241-2/+3
|
* remove useless joinAaron Patterson2010-11-241-1/+1
|
* moving column_aliases to JoinDependencyAaron Patterson2010-11-241-0/+8
|
* breaking classes up in to respective filesAaron Patterson2010-11-231-0/+216