aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Don't pass garbage args to alias trackerRyuta Kamizono2018-01-141-1/+2
* Use `apply_join_dependency` instead of meaningless named `find_with_associati...Ryuta Kamizono2018-01-111-24/+11
* Make `relation.exists?` more performant when using eager loadingRyuta Kamizono2018-01-111-3/+4
* resolve inconsistencies between first and to_a.first with limitBrian Christian2018-01-091-1/+5
* Make `find_nth_from_last` more performant when using reversible orderRyuta Kamizono2018-01-071-6/+5
* Fix `last` with `offset` to behave consistently with loaded relationRyuta Kamizono2018-01-071-1/+1
* Fix `pluck` with eager loading to respect `offset`Ryuta Kamizono2018-01-071-1/+1
* Update docs `ActiveRecord::FinderMethods#find`suginoy2017-11-281-3/+4
* Provide arguments to RecordNotFoundNikita Misharin2017-11-251-5/+9
* Update `exists?` documentationNikolai B2017-11-141-1/+2
* Ensure `apply_join_dependency` for `collection_cache_key` if eager-loading is...Ryuta Kamizono2017-11-061-1/+1
* Remove meaningless named `construct_relation_for_association_calculations`Ryuta Kamizono2017-10-091-4/+0
* Fix `relation.exists?` with has_many through associationsRyuta Kamizono2017-10-091-4/+4
* Remove passing redundant `self` to internal `apply_join_dependency` etcRyuta Kamizono2017-10-091-13/+12
* Decouple building `AliasTracker` from `JoinDependency`Ryuta Kamizono2017-10-081-1/+3
* Don't use `quoted_table_name` in `limited_ids_for`Ryuta Kamizono2017-09-141-1/+3
* Should work inverse association when eager loadingRyuta Kamizono2017-08-251-10/+1
* Return Not found Ids in ActiveRecord::NotFoundGaurish Sharma2017-07-291-3/+3
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-3/+3
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Fix `JoinDependency` with using a custom tableRyuta Kamizono2017-07-181-1/+1
* Remove useless `arel_engine`Ryuta Kamizono2017-07-171-1/+1
* Skip query cache for in_batches and friendsEugene Kenny2017-07-061-3/+3
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Merge pull request #29506 from pat/frozen-string-literalsMatthew Draper2017-07-021-2/+2
|\ \ | |/ |/|
| * Make ActiveRecord frozen string literal friendly.Pat Allan2017-06-201-2/+2
* | Merge pull request #29405 from kamipo/locked_should_not_build_arelRafael França2017-06-281-5/+3
|\ \
| * | Remove delegating to arel in a relationRyuta Kamizono2017-06-291-5/+3
| |/
* / Extract `ordered_relation` in `FinderMethods`Ryuta Kamizono2017-06-241-12/+11
|/
* Don't eager loading if unneeded for `FinderMethods#exists?`Ryuta Kamizono2017-05-111-2/+4
* exclude ORDER BY clause for exists? (#28699)Boris Slobodin2017-04-101-1/+1
* Extract `construct_relation_for_exists` in `FinderMethods`Ryuta Kamizono2017-04-091-12/+15
* Revert "Merge pull request #28598 from wnadeau/patch-1"Rafael Mendonça França2017-04-031-1/+1
* FinderMethods#fourty_two docs cite proper sourceWinfred Nadeau2017-03-291-1/+1
* Fix `find_nth` with `limit_value`Ryuta Kamizono2017-02-261-3/+7
* Remove duplicated private methodkami-zh2017-02-261-102/+100
* Fix grammar typo about sort in finder_methods.rbKevin Huang2017-01-301-2/+2
* Raise ArgumentError when a instance of ActiveRecord::Base is passed toRafael Mendonça França2017-01-031-7/+5
* Raises IrreversibleOrderError when using last with an irreversible orderRafael Mendonça França2016-12-291-8/+0
* Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-98/+98
* Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-241-12/+10
* Translate numeric value out of range to the specific exceptionRyuta Kamizono2016-12-061-4/+4
* Restore RecordNotFound when *_ids= can't find records by IDDominic Cleal2016-11-241-4/+4
* Should except `:distinct` rather than `:order` for `exists?`Ryuta Kamizono2016-11-091-1/+1
* initialize errors with name of class and other paramsv.promzelev2016-09-231-2/+2
* Fix broken heredoc indentation caused by rubocop auto-correctRyuta Kamizono2016-09-031-3/+3
* Remove unnecessary ordinal methods for collection associationRyuta Kamizono2016-08-181-2/+10
* Finder bang method should call non bang methodRyuta Kamizono2016-08-161-16/+16