aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
Commit message (Expand)AuthorAgeFilesLines
...
| * 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
* Merge pull request #26097 from Dagnan/fix_recordnotfound_args_rebasedRafael França2016-08-161-4/+6
|\
| * When calling association.find RecordNotFound is now raised with the same argu...Michel Pigassou2016-08-131-4/+6
* | Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* | Remove `find_nth_with_limit_and_offset` private methodRyuta Kamizono2016-08-151-34/+13
|/
* revises most Lint/EndAlignment offensesXavier Noria2016-08-071-7/+7
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-168/+168
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-4/+4
* `FinderMethods` uses `records` (`load_target`) when `loaded?` is trueRyuta Kamizono2016-07-281-4/+4
* Merge pull request #25271 from kamipo/prevent_range_error_for_existsSean Griffin2016-06-151-1/+3
|\
| * Prevent `RangeError` for `FinderMethods#exists?`Ryuta Kamizono2016-06-161-1/+3
* | Fix `calculate` with a string value in `from` and eager loadingRyuta Kamizono2016-06-131-9/+1
|/
* Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-3/+3
* Pass over all Rails 5 warnings, to make sure:Vipul A M2016-04-121-2/+2
* [ci skip] Fix the FinderMethods#find documentakihiro172016-03-141-2/+2
* default second_to_last to primary_key index if no order suppliedBrian Christian2016-02-271-1/+7
* refactor AR second_to_last to use array methodsBrian Christian2016-02-271-1/+6
* AR #second_to_last tests and finder methodsBrian Christian2016-02-271-4/+12
* Mutating the result of Relation#to_a should not affect the relationMatthew Draper2016-02-211-3/+3
* Remove the method already overridden by private methodMehmet Emin İNAÇ2016-02-141-13/+0
* Merge pull request #23377 from bogdan/last-with-sqlEileen M. Uchitelle2016-02-131-9/+19
|\
| * Make ActiveRecord::Relation#last to reverse SQL orderBogdan Gusiev2016-02-131-9/+19
* | Fix grammar `a` to `an` [ci skip]Ryuta Kamizono2016-02-131-1/+1
|/
* remove warnings from FinderMethodsyuuji.yaginuma2016-02-111-4/+4
* rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-101-12/+12
* allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-091-0/+32
* Extract a Relation#arel_attributeMatthew Draper2016-02-041-2/+2
* Defer Arel attribute lookup to the model classMatthew Draper2016-02-041-2/+2