aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
Commit message (Expand)AuthorAgeFilesLines
* stop calling to_sym when building arel nodes [CVE-2013-1854]Aaron Patterson2013-03-151-1/+1
* Revert "Merge pull request #7983 from georgebrock/bug7950-squashed"Carlos Antonio da Silva2013-01-151-6/+1
* use bind values for join columnsAaron Patterson2012-11-101-1/+6
* Fix #4979 against 3-2-stable - delete_all raise an error if a limit is providedFrancesco Rodriguez2012-05-021-0/+2
* prepared statements can be disabledAaron Patterson2012-02-211-1/+2
* Merge pull request #4282 from edgecase/order_after_reorderAaron Patterson2012-01-041-1/+1
* AS::Concern is not really needed for AR::ExplainXavier Noria2011-12-161-1/+1
* Split out most of the AR::Base code into separate modules :cake:Jon Leighton2011-12-151-1/+1
* Set up delegations also for to_a and arel branches.José Valim2011-12-151-7/+0
* Move delegation reponsibilities of Relation to a module. Also precompile meth...José Valim2011-12-151-22/+1
* Make with_scope public so we stop using send :bomb:José Valim2011-12-151-1/+1
* Improve delegate list to avoid method missing.José Valim2011-12-151-1/+2
* There isn't a column_hash. It was being invoked by method missing.José Valim2011-12-151-1/+1
* implements a much faster auto EXPLAIN, closes #3843 [José Valim & Xavier Noria]Xavier Noria2011-12-041-5/+5
* indentation fix warningArun Agrawal2011-12-021-1/+1
* revises some details in the previous explain patchXavier Noria2011-12-021-1/+1
* implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-021-16/+29
* add the query to AR::Relation#explain outputXavier Noria2011-11-251-2/+3
* implements AR::Relation#explainXavier Noria2011-11-051-0/+16
* Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL queryJon Leighton2011-11-051-1/+1
* Revert "Raise error on unknown primary key."Jon Leighton2011-10-051-3/+3
* Raise error on unknown primary key.Jon Leighton2011-10-051-3/+3
* Rename first_or_new to first_or_initialize.Jon Leighton2011-09-131-2/+1
* Using more precise method signatures for AR::Relation#first_or_create family ...Andrés Mejía2011-09-061-6/+6
* Adding first example with no arguments to AR::Relation#first_or_create and re...Andrés Mejía2011-09-061-15/+15
* Adding first_or_create, first_or_create!, first_or_new and first_or_build to ...Andrés Mejía2011-08-301-0/+43
* Refactor building the update managerJon Leighton2011-08-151-5/+6
* Support updates with joins. Fixes #522.Jon Leighton2011-08-151-4/+9
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-081-7/+6
* Bring back the ability to provide :order for update_all.thedarkone2011-07-251-9/+5
* Foo.joins(:bar).includes(:bar) should result in a single query with :bar as a...Jon Leighton2011-07-091-1/+11
* Use Enumerable#with_index. We're on Ruby > 1.8.7Akira Matsuda2011-07-081-2/+1
* Add require ActiveSupport delegation to ActiveRecord::Relation class.Dmitriy Kiriyenko2011-07-071-0/+1
* default create_with_value to a hash so we can eliminate conditionals, add tes...Aaron Patterson2011-06-271-2/+3
* Fix issue #1272Brian Mathiyakom2011-06-011-1/+1
* delegate connection and column_hash calls directly to modelHemant Kumar2011-05-281-1/+1
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-2/+2
|\
| * Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-2/+2
* | Fix infinite recursion where a lazy default scope references a scope. Fixes #...Jon Leighton2011-05-251-1/+1
* | Ensure that the surrounding code in Relation#to_a respects the default_scope ...Jon Leighton2011-05-241-17/+24
|/
* using bind parameters for updatesAaron Patterson2011-04-301-1/+1
* postgresql supports prepare statement deletesAaron Patterson2011-04-291-1/+3
* Use existing #empty_insert_statement_value for an insert with no columns.Ken Collins2011-04-241-1/+1
* The #substitute_at gets an ActiveRecord::ConnectionAdapters::Column in #inser...Ken Collins2011-04-231-1/+1
* sort insert columns for better cache hitsAaron Patterson2011-04-141-1/+1
* refactoring inserts to use the same method on the connectionAaron Patterson2011-04-141-21/+16
* insert statements are prepared, but values are not escaped properlyAaron Patterson2011-04-141-6/+24
* ActiveRecord::Base.scopes hash is not neededJon Leighton2011-04-121-2/+0
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-121-3/+14
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-6/+1