aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/join_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid sanitize_sql when we can use Relation#where insteadJon Leighton2012-01-161-10/+0
|
* a few minor performance improvements: fewer strings, fewer range objects, ↵Aaron Patterson2011-07-011-2/+1
| | | | fewer method calls
* cache the plural name on the reflection so we do not pay pluralize costs on ↵Aaron Patterson2011-06-301-1/+1
| | | | joins
* AliasTracker.pluralize use pluralize_table_names of modelGuillermo Iguaran2011-05-201-1/+1
|
* Fix tests under postgres - we should always put conditions in the WHERE part ↵Jon Leighton2011-03-121-5/+3
| | | | not in ON constraints because postgres requires that the table has been joined before the condition references it.
* Abstract some common code from AssociationScope and ↵Jon Leighton2011-03-111-0/+58
JoinDependency::JoinAssociation into a JoinHelper module