aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #36647 from giraffate/fix_exists_with_distinct_and_offset_...Ryuta Kamizono2019-07-111-1/+1
|\
| * Fix `relation.exists?` with giving `distinct`, `offset` and `order` for joine...Takayuki Nakata2019-07-101-1/+1
|/
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Fix merging left_joins to maintain its own `join_type` contextRyuta Kamizono2019-04-271-1/+3
* Clarify exists check in logsDan Fitch2019-04-091-1/+1
* Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-051-6/+0
* Replace “can not” with “cannot”.Samantha John2019-03-061-1/+1
* [ci skip] The `find` method coerces the given arguments to integer if the `pr...Mehmet Emin INAC2019-02-281-1/+1
* [ci skip] Fix the documentation of ActiveRecord::FinderMethods#findMehmet Emin INAC2019-02-281-2/+2
* Fix `relation.exists?` with giving both `distinct` and `offset`Ryuta Kamizono2019-02-081-4/+8
* All of queries should return correct result even if including large numberRyuta Kamizono2019-01-181-10/+0
* Allow strong params in ActiveRecord::Base#exists?Gannon McGibbon2019-01-071-0/+2
* Make implicit order column configurableTekin Suleyman2018-11-261-2/+2
* Ignore empty condition on #construct_relation_for_existsr7kamura2018-10-271-1/+1
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-2/+2
* Don't return the same object when using find with an empty arrayRafael Mendonça França2018-09-191-1/+1
* Use `visitor.compile` instead of constructing by connection itselfRyuta Kamizono2018-09-091-1/+1
* Revert "Merge pull request #24131 from brchristian/limit_and_primary_key"Ryuta Kamizono2018-08-011-1/+1
* don't impose primary key order if limit() is definedBrian Christian2018-07-191-1/+1
* Use `construct_join_dependency` in all placesRyuta Kamizono2018-07-031-4/+3
* Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-191-3/+1
* Fix GROUP BY queries to apply LIMIT/OFFSET after aggregationsRyuta Kamizono2018-06-071-1/+1
* Eager loading with polymorphic associations should behave consistentlyRyuta Kamizono2018-03-041-3/+3
* 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
|\ \ | |/ |/|