aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/querying.rb
Commit message (Expand)AuthorAgeFilesLines
* Add missing `touch_all` delegation to relationRyuta Kamizono2019-04-051-1/+1
* Add `ActiveRecord::Relation#extract_associated` for extracting associated rec...David Heinemeier Hansson2019-03-291-1/+1
* Add Relation#annotate for SQL commentingMatt Yoho2019-03-211-1/+1
* Support Optimizer HintsRyuta Kamizono2019-03-161-1/+1
* Delegate `only` query method to relation as with `except`Ryuta Kamizono2019-03-071-1/+1
* Refactor AR::Querying to extract `QUERYING_METHODS` listRyuta Kamizono2019-03-071-13/+17
* Fixed reselect throwing NoMethodError on ActiveRecord.Abhay Nikam2019-03-031-1/+2
* Merge pull request #35316 from abhaynikam/35304-add-delete_by_and_destroy_byRyuta Kamizono2019-02-191-1/+1
|\
| * Introduce delete_by and destroy_by methods to ActiveRecord::RelationAbhay Nikam2019-02-191-1/+1
|/
* Should respect attribute_types over column_typesRyuta Kamizono2019-02-131-2/+1
* Improve ActiveRecord::Querying documentation [ci skip]Aaron Sumner2018-11-281-7/+9
* Cached columns_hash fields should be excluded from ResultSet#column_typesDmitryTsepelev2018-11-271-1/+2
* 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