aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* JoinBase initialize can be deletedAaron Patterson2010-11-302-10/+3
|
* removing interpolate_sql from join associationsAaron Patterson2010-11-291-5/+1
|
* moving method to subclass that actually uses the methodAaron Patterson2010-11-292-1/+5
|
* Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-286-18/+18
|
* nil check unneeded ht. exvivaSantiago Pastorino2010-11-251-1/+1
|
* Remove explicit return.Emilio Tagua2010-11-251-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Use ternary instead explicit return.Emilio Tagua2010-11-251-2/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove return, we are already returning self.Emilio Tagua2010-11-251-6/+6
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* alias should be a SQL literalAaron Patterson2010-11-241-1/+1
|
* initialize instance variables in initialize... o_OAaron Patterson2010-11-241-2/+2
|
* adding a factory method to the join part for generating a table aliasAaron Patterson2010-11-242-1/+5
|
* 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
|
* reduce method callsAaron Patterson2010-11-241-1/+1
|
* removing ternaryAaron Patterson2010-11-231-1/+1
|
* breaking classes up in to respective filesAaron Patterson2010-11-234-0/+604
|
* Refactor && simplify count_records.Emilio Tagua2010-11-231-5/+1
|
* Remove explicit return and avoid creating local var.Emilio Tagua2010-11-241-2/+1
|
* Remove explicit return.Emilio Tagua2010-11-241-1/+1
|
* removing space errorAaron Patterson2010-11-221-1/+1
|
* removing unused variablesAaron Patterson2010-11-221-2/+2
|
* class inheritable attributes is used no more! all internal use of class ↵Josh Kalderimis2010-11-201-1/+1
| | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com>
* super automatically passes on the implicit blockAaron Patterson2010-11-161-5/+1
|
* use unless instead of if !Aaron Patterson2010-11-161-1/+1
|
* removing space errorsAaron Patterson2010-11-162-5/+5
|
* reloading an association will properly set attributes of instantiated ↵Aaron Patterson2010-11-161-1/+3
| | | | objects. Thanks Brian Palmer [#5802 state:resolved]
* refactoring uniq methodAaron Patterson2010-11-161-7/+4
|
* if association is already loaded and if a find operation is performed on the ↵Neeraj Singh2010-11-151-1/+2
| | | | | | already loaded association list with an empty hash then do not perform another sql [#5972 state:resolved]
* Remove unused varSantiago Pastorino2010-11-141-1/+1
|