aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* we should wrap strings as sql literalsAaron Patterson2010-08-191-1/+1
* Ensure we can nest include calls [#5285 state:resolved]Neeraj Singh2010-08-121-1/+1
* subtracting blank strings is slightly faster than blank?Aaron Patterson2010-08-111-3/+1
* avoiding tap saves us timeAaron Patterson2010-08-111-2/+6
* unless Array#empty? is faster than if Array#present?Aaron Patterson2010-08-111-1/+1
* avoid passing lists of lists to the group clauseAaron Patterson2010-08-041-1/+1
* order query is already a string, no need to to_sAaron Patterson2010-08-031-2/+2
* reverting where() functionality, adding a testAaron Patterson2010-07-301-4/+4
* fewer method calls, using faster methods when possibleAaron Patterson2010-07-301-5/+5
* reducing function calls and using faster methods for testingAaron Patterson2010-07-301-9/+3
* got the ternary backwards. somehow the sqlite tests passed!Aaron Patterson2010-07-291-1/+1
* PERF: avoiding splat args and reducing function callsAaron Patterson2010-07-291-8/+5
* Shouldn't have committed this! Revert "avoid calling to_sql twice"Aaron Patterson2010-07-281-7/+4
* avoid calling to_sql twiceAaron Patterson2010-07-281-4/+7
* Revert "Style fixes"Pratik Naik2010-07-151-20/+20
* Style fixeswycats2010-07-141-20/+20
* Style fixesPratik Naik2010-07-141-20/+20
* Add scoping and unscoped as the syntax to replace the old with_scope and with...José Valim2010-06-291-2/+3
* Remove unneeded rejectSantiago Pastorino2010-06-281-8/+1
* Refactor: metaprogramming here it's confusing and make use of tapSantiago Pastorino2010-06-261-64/+73
* Removes useless flattenSantiago Pastorino2010-06-261-4/+9
* Create a little bit less objects in ARel.José Valim2010-06-261-6/+9
* blocks removed from all the ActiveRelation query_methods, extend method added...Santiago Pastorino2010-06-261-8/+4
* reorder method added to ActiveRelationSantiago Pastorino2010-06-261-0/+8
* Support for multiple selects addedNeeraj Singh and Santiago Pastorino2010-06-251-4/+7
* Makes a build_select for the select part of build_arelSantiago Pastorino2010-06-251-10/+13
* Metaprogramming not needed hereSantiago Pastorino2010-06-251-11/+9
* Only yield block if given.Emilio Tagua2010-06-241-2/+2
* Fix order method to accept relation attributes.Emilio Tagua2010-06-221-1/+1
* Don't waste time building relations if there are no values presents. [#4860 s...Emilio Tagua2010-06-211-4/+4
* Refactor build_arel: move joins out and simplify havings. [#4860 state:resolved]Emilio Tagua2010-06-201-46/+46
* Special treatement for Relation#select { with block }Pratik Naik2010-06-021-1/+14
* To allow proper fisting of stack traceSantiago Pastorino2010-05-141-3/+3
* Fix unintuitive behavior with multiple order and group clausesErnie Miller2010-05-061-6/+2
* Fix eager loading of associations causing table name collisionsErnie Miller2010-04-281-31/+42
* Build PredicateBuilder object only when neededPratik Naik2010-04-211-3/+1
* Fix evals missing contextJeremy Kemper2010-04-101-3/+3
* Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...)Jeremy Kemper2010-04-101-1/+2
* Add Relation extensionsPratik Naik2010-04-021-4/+21
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+2
* From and lock should be defined to be consistent with other ivars. Limit and ...Emilio Tagua2010-03-221-14/+4
* kill where / having method redefine warnings. [#4225 state:resolved]Aaron Patterson2010-03-181-0/+1
* removing spawn from SpawnMethodsAaron Patterson2010-03-101-6/+6
* refactoring build_whereAaron Patterson2010-03-061-7/+7
* avoid @lock_value not initialized warningSantiago Pastorino2010-02-221-1/+1
* Clear up some ivar warningsJeremy Kemper2010-01-271-3/+13
* Simplify finder method definitionsPratik Naik2010-01-211-13/+11
* Supplying Arel::SqlLiteral is much fasterPratik Naik2010-01-211-5/+12
* Use quoted_table_name with arel.from() if no from values explicitly supplied....Pratik Naik2010-01-211-2/+4
* Always use table.* in the finder query unless specifiedPratik Naik2010-01-211-1/+1