aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix the #using_limitable_reflections? helper to work correctly by not examini...Ken Collins2010-07-081-1/+1
* No need to check if the attribute exists (this is the same behavior as in 2.3...José Valim2010-06-291-3/+1
* array subtraction should be faster than iterating over all the elementsNeeraj Singh2010-06-291-1/+1
* 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
* Remove block definitions in finder methods.Emilio Tagua2010-06-241-4/+4
* Fix small bug where ActiveRecord::PredicateBuilder#build_from_hash didn't tes...James Harton2010-06-221-1/+1
* 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
* revises the rdoc of #average according to 5f3bd55, and realigns when clausesXavier Noria2010-05-121-5/+4
* type_cast_calculated_value refactor: value is never a Fixnum here. Fix test s...Santiago Pastorino2010-05-111-1/+1
* Improve code from 231d7676f72947bae765b9bd885b134aaf949921Pratik Naik2010-05-091-7/+5
* corrected AR find_each and find_in_batches to raise when the user uses select...Josh Kalderimis2010-05-091-1/+8
* Here the intention was to assign to different objectsSantiago Pastorino2010-05-081-1/+1
* Make find_or_create and find_or_initialize work mixing explicit parameters an...Santiago Pastorino2010-05-071-9/+13
* Fix unintuitive behavior with multiple order and group clausesErnie Miller2010-05-063-8/+9
* Allow pre-casted values (other than nil) to pass through from calculations un...Brian Lopez2010-05-041-5/+9
* Fix eager loading of associations causing table name collisionsErnie Miller2010-04-282-32/+42
* Some require indifferent_access addedSantiago Pastorino2010-04-211-0/+1
* 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
* Raise a StatementInvalid error when trying to build a condition with hash key...Carl Lerche2010-04-031-1/+3
* Goodbye ActiveRecord::NamedScope::ScopePratik Naik2010-04-021-1/+1
* Make Relation#first and Relation#last behave like named scope'sPratik Naik2010-04-021-2/+18
* Add Relation extensionsPratik Naik2010-04-022-8/+28
* Consistency when using Relation constantsPratik Naik2010-04-021-2/+2
* Arel now handles ranges with excluded end.Emilio Tagua2010-03-291-6/+1