aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/querying.rb
Commit message (Expand)AuthorAgeFilesLines
* Speed up homogeneous AR lists / reduce allocationsAaron Patterson2018-06-251-1/+6
* Merge pull request #32213 from yujideveloper/feature/delegate-ar-base-pick-to...Ryuta Kamizono2018-03-091-1/+1
|\
| * Add `delegate :pick, to: :all`Yuji Hanamura2018-03-091-1/+1
|/
* Add #create_or_find_by to lean on unique constraints (#31989)David Heinemeier Hansson2018-02-141-1/+1
* Place class level `update`, `destroy`, and `delete` in `Persistence::ClassMet...Ryuta Kamizono2017-09-181-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add missing `delegate :extending, to: :all`Ryuta Kamizono2017-06-011-1/+1
* uniq was deprecated and removed alreadyRafael Mendonça França2017-03-171-1/+1
* Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-2/+2
* Deprecate `sanitize_conditions`. Use `sanitize_sql` insteadRyuta Kamizono2016-08-181-2/+1
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
* Fix the calling `merge` method at first in a scopesuginoy2016-07-191-1/+1
* Do not delegate `AR::Base#empty?` to `all`Sean Griffin2016-05-021-1/+1
* Delegate some additional methods in querying.rbKenta2016-03-301-1/+1
* Ensure prepared statement caching still occurs with Adequate RecordSean Griffin2016-02-111-2/+2
* rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-101-1/+1
* allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-091-1/+1
* Alias left_joins to left_outer_joinsTakashi Kokubun2015-10-311-1/+1
* Merge pull request #12071 from Crunch09/outer_joinsSean Griffin2015-10-301-1/+1
|\
| * added ActiveRecord::Relation#left_outer_joinsFlorian Thomas2015-05-191-1/+1
* | Add ActiveRecord::Relation#in_batchesSina Siadat2015-08-071-1/+1
|/
* Added #or to ActiveRecord::RelationMatthew Draper2015-01-281-1/+1
* Fix doc formatting for `count_by_sql`claudiob2015-01-011-3/+4
* Revert "Improve performance of AR object instantiation"Sean Griffin2014-11-141-1/+1
* Improve performance of AR object instantiationSean Griffin2014-11-051-1/+1
* measure record instantiation time in AS::NotificationsAaron Patterson2014-10-131-1/+10
* some object allocation reduction for new AR objectsAaron Patterson2014-09-271-1/+2
* Remove old deprecation warningSean Griffin2014-06-221-8/+1
* No need to decorate columns twiceSean Griffin2014-06-101-1/+1
* Result sets never override a model's column typeSean Griffin2014-05-291-1/+1
* Ensure #second acts like #first AR finderJason Meller2014-01-201-0/+1
* Delegate #rewhere to all on the class like all other relation methodsDavid Heinemeier Hansson2013-11-021-1/+1
* Moving the `pluck` and `ids` methods to their own delegate line.wangjohn2013-06-251-8/+9
* improved doc for ActiveRecord#find_by_sql method (Refs #10599) [ci skip]Anton Kalyaev2013-05-141-3/+4
* Delegate #unscope query methodCarlos Antonio da Silva2013-04-281-1/+1
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-1/+1
* remove AR auto-explain (config.auto_explain_threshold_in_seconds)Yves Senn2013-02-241-14/+10
* Refactor to use each_key, remove extra spacesCarlos Antonio da Silva2013-01-281-1/+0
* Cleans and removes 'Examples' tag [ci skip]Alvaro Pereyra2012-12-011-5/+2
* Add Relation#find_or_create_by and friendsJon Leighton2012-10-191-0/+1
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-1/+1
* load active_support/deprecation in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-1/+0
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-7/+7
* Log query plan when we use count_by_sql method.kennyj2012-07-181-2/+4
* Introducing `take` as a replacement to the old behavior of `first`Marcelo Silveira2012-05-021-1/+1
* Fix PR #6091Andrew White2012-04-301-1/+1
* Add Relation#find_by and Relation#find_by!Jon Leighton2012-03-301-0/+1