Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move JoinDependency and friends from ↵ | Jon Leighton | 2011-02-28 | 1 | -233/+0 |
| | | | | ActiveRecord::Associations::ClassMethods to just ActiveRecord::Associations | ||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-18 | 1 | -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 Leighton | 2011-02-18 | 1 | -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 Tagua | 2011-02-15 | 1 | -2/+2 |
|/ | |||||
* | Rename AssociationProxy#loaded to loaded! as it mutates the association | Jon Leighton | 2011-01-30 | 1 | -1/+1 |
| | |||||
* | Get rid of set_association_target and association_loaded? as the parts of ↵ | Jon Leighton | 2011-01-11 | 1 | -1/+2 |
| | | | | the code that need that can now just use association_proxy(:name).loaded?/target= | ||||
* | just use a hash for doing association caching | Aaron Patterson | 2011-01-07 | 1 | -2/+2 |
| | |||||
* | Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst ↵ | Jon Leighton | 2010-12-26 | 1 | -2/+2 |
| | | | | other things | ||||
* | taking advantage of the JoinSource node in the SQL AST | Aaron Patterson | 2010-12-16 | 1 | -14/+6 |
| | |||||
* | just use the regexp directly | Aaron Patterson | 2010-12-16 | 1 | -6/+4 |
| | |||||
* | combine regexp | Aaron Patterson | 2010-12-16 | 1 | -4/+2 |
| | |||||
* | only quote the table name once per call | Aaron Patterson | 2010-12-10 | 1 | -6/+7 |
| | |||||
* | use sort_by | Aaron Patterson | 2010-12-08 | 1 | -1/+1 |
| | |||||
* | have table_aliases call count_aliases to set the default value | Aaron Patterson | 2010-12-08 | 1 | -1/+3 |
| | |||||
* | passing the ast to a table when the relation is a table | Aaron Patterson | 2010-12-07 | 1 | -2/+0 |
| | |||||
* | JoinDependency is always created with an AST now | Aaron Patterson | 2010-12-07 | 1 | -4/+10 |
| | |||||
* | passing the ast to JoinDependency | Aaron Patterson | 2010-12-07 | 1 | -2/+11 |
| | |||||
* | reduce string objects, reduce method calls | Aaron Patterson | 2010-12-07 | 1 | -4/+5 |
| | |||||
* | save the AR reference rather than delegating | Aaron Patterson | 2010-12-07 | 1 | -4/+5 |
| | |||||
* | JoinBase initialize can be deleted | Aaron Patterson | 2010-11-30 | 1 | -2/+3 |
| | |||||
* | alias should be a SQL literal | Aaron Patterson | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | adding a factory method to the join part for generating a table alias | Aaron Patterson | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | use ARel rather than generate SQL strings | Aaron Patterson | 2010-11-24 | 1 | -2/+3 |
| | |||||
* | remove useless join | Aaron Patterson | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | moving column_aliases to JoinDependency | Aaron Patterson | 2010-11-24 | 1 | -0/+8 |
| | |||||
* | breaking classes up in to respective files | Aaron Patterson | 2010-11-23 | 1 | -0/+216 |