aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* cleaning up custom_join_sql methodAaron Patterson2010-12-071-4/+6
|
* fix warnings, stop using global variablesAaron Patterson2010-11-301-4/+2
|
* stop using splat args when we do not need themAaron Patterson2010-11-301-2/+2
|
* reduce method calls on arelAaron Patterson2010-11-301-1/+1
|
* skip cloning if arguments are blankAaron Patterson2010-11-221-8/+22
|
* group can be done by left side onlyAaron Patterson2010-11-171-6/+3
|
* collapsing same table / column WHERE clauses to be OR [#4598 state:resolved]Aaron Patterson2010-11-171-4/+25
|
* use shorter form for sql literalsAaron Patterson2010-11-171-1/+1
|
* adding bind_values to relationsAaron Patterson2010-10-261-1/+8
|
* use shortened version to generate a sql literalAaron Patterson2010-10-191-1/+1
|
* avoid cloning if we do not need to cloneAaron Patterson2010-10-191-0/+2
|
* avoid creating a proc object when possibleAaron Patterson2010-10-191-2/+2
|
* Refactor JoinDependency and friends so that a JoinAssociation can produce an ↵Jon Leighton2010-10-131-12/+1
| | | | arbitrary number of joins, which will be needed in order to support nested through associations.
* reorder removed in favor of except(:order).orderSantiago Pastorino2010-10-111-10/+1
|
* avoid creating objects when we canAaron Patterson2010-10-031-1/+1
|
* build_where should be privateAaron Patterson2010-09-301-2/+2
|
* removing more useless code! yay!Aaron Patterson2010-09-281-6/+2
|
* SqlLiteral is a string, so we can dry up these conditionalsAaron Patterson2010-09-281-4/+3
|
* shorten up or sql literal creation statementsAaron Patterson2010-09-281-4/+2
|
* we only care about arrays and stringsAaron Patterson2010-09-281-1/+1
|
* dry up calls to arel.join()Aaron Patterson2010-09-281-5/+4
|
* removing unused lasgnsAaron Patterson2010-09-281-4/+4
|
* refactoring to remove crazy logicAaron Patterson2010-09-281-8/+1
|
* performance improvement based on discussion at ↵Neeraj Singh2010-09-281-9/+3
| | | | | | http://github.com/rails/rails/commit/fbd1d306b95cc2efb6422e12d26d5818a3a42343 Credit goes to all the participants in the discussion
* removing a conditional that is not usedAaron Patterson2010-09-281-2/+0
|
* avoid calling to_sql when we canAaron Patterson2010-09-281-1/+1
|
* make sure we use the engine assigned to the table when quotingAaron Patterson2010-09-271-1/+1
|
* Three performance improvements:Neeraj Singh2010-09-271-10/+9
| | | | | | | | * for simple cases like User.last and User.order('name desc').last no need to perform Array#join operation. * Instead of performing String#blank? do Array#empty? * no need to create variable relation
* adds to the API guidelines the proper spelling of ArelXavier Noria2010-09-191-2/+2
|
* @join_values is passed in, so we should use the parameterAaron Patterson2010-09-151-1/+1
|
* creating a new array is required. who knew? :-(Aaron Patterson2010-09-091-1/+1
|
* no need for Array.wrap, also avoid array creationAaron Patterson2010-09-091-5/+4
|
* make apply_modules run fasterNeeraj Singh2010-09-091-3/+5
|
* eliminate present? for fewer method callsAaron Patterson2010-09-081-10/+2
|
* returning arrays lets us avoid Array.wrapAaron Patterson2010-09-081-4/+4
|
* removing unnecessary conditional testAaron Patterson2010-09-081-4/+4
|
* switch to blank? to avoid method callsAaron Patterson2010-09-081-6/+6
|
* refactor to use faster empty?Aaron Patterson2010-09-081-1/+3
|
* drying up joins()Aaron Patterson2010-09-081-4/+2
|
* reduce method calls, use reject + blank? instead of select + present?Aaron Patterson2010-09-081-3/+3
|
* removing useless code, cleaning variable namesAaron Patterson2010-09-071-6/+2
|
* select should raise error when no block or no parameter is passedAaron Patterson2010-09-071-3/+3
|
* select does not need a *argsAaron Patterson2010-09-071-2/+2
|
* cleaning up confusing logicAaron Patterson2010-09-061-3/+6
|
* Make scoped reorder override previous applied ordersSantiago Pastorino2010-09-051-2/+5
| | | | [5528 state:committed]
* Make all the Relation finder methods consistentPratik Naik2010-08-311-32/+67
|
* Merge remote branch 'miloops/rails_master_fixes'Pratik Naik2010-08-311-15/+26
|\
| * Avoid calling build_where is no argument is given.Emilio Tagua2010-08-311-1/+1
| |
| * Improved conditionals usage to prevent calling methods.Emilio Tagua2010-08-311-8/+19
| |
| * Don't test conditional in iteration if it is not present just clone it.Emilio Tagua2010-08-311-9/+9
| |