aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* [ci skip] Remove comments about Rails 3.1claudiob2015-05-111-3/+3
* [ci skip] Stop explaining finders for Rails 3claudiob2015-05-101-14/+2
* Raise ArgumentError when find_by receives no argumentsKohei Suzuki2015-04-111-4/+4
* [ci skip] Combine complementary AR #find doc linesAlexander Dimitriyadi2015-03-301-3/+1
* Fix referencing wrong aliases while joining tables of has many throughpinglamb2015-03-221-1/+1
* Removed non-standard and unused require 'active_support/deprecation' from par...Vipul A M2015-02-271-1/+0
* Remove Relation#bind_paramsSean Griffin2015-01-271-3/+3
* Unify access to bind values on RelationSean Griffin2015-01-271-3/+3
* Don't remove join dependencies in `Relation#exists?`Sean Griffin2015-01-231-1/+1
* Go through normal where logic in `apply_join_dependency`Sean Griffin2014-12-261-1/+1
* Update Arel usage for rails/arel#98fc259Sean Griffin2014-11-291-4/+4
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Handle `RangeError` from casting in `find_by` and `find_by!` on RelationSean Griffin2014-11-021-0/+4
* Don't duplicate predicate building logic in Relation findersSean Griffin2014-11-011-5/+2
* Treat strings greater than int max value as out of rangeSean Griffin2014-10-311-0/+2
* let's warn with heredocsXavier Noria2014-10-281-4/+9
* Remove duplicate error message "Couldn't find..."claudiob2014-10-131-6/+10
* Merge pull request #15791 from zev/add_model_to_recordnotfound_messageAaron Patterson2014-09-191-8/+8
|\
| * Update RecordNotFound exception cases to include a message with theZev Blut2014-06-181-8/+8
* | Fixed regression with referencing polymorphic assoc in eager-loadGodfrey Chan2014-09-051-1/+2
* | Fixes the `Relation#exists?` to work with polymorphic associations.Kassio Borges2014-08-181-1/+1
|/
* ActiveRecord::FinderMethods.find passes proc parameter #15382James Yang2014-06-101-1/+1
* WIP: pass existing joins to construct_join_dependencyMatt Jones2014-05-161-1/+10
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-251-1/+1
|\
| * Fix a typo in the doc of forty_two AR FinderMethodEric Bouchut2014-04-241-1/+1
* | Merge branch 'master' into adequaterecordAaron Patterson2014-04-141-14/+22
|\|
| * don't bother with an offset if the offset is zeroAaron Patterson2014-04-121-6/+9
| * only add the offset and index when we need toAaron Patterson2014-04-121-8/+9
| * remove branching logic from calls to find_nthAaron Patterson2014-04-121-6/+10
* | Merge branch 'master' into adequaterecordAaron Patterson2014-03-131-2/+13
|\|
| * passing an instance of an AR object to `find` is deprecatedAaron Patterson2014-03-131-1/+5
| * passing an ActiveRecord object to `exists?` is deprecated.Aaron Patterson2014-03-131-1/+8
* | `where` automatically uses bind values nowAaron Patterson2014-03-131-5/+2
* | Merge branch 'master' into adequaterecordAaron Patterson2014-03-131-1/+6
|\|
| * Make exists? use bound values.Martin Schürrer2014-03-041-1/+6
* | Merge branch 'master' into adequaterecordAaron Patterson2014-02-171-11/+99
|\|
| * guarantee a list in the alias tracker so we can remove a conditionalAaron Patterson2014-02-141-1/+9
| * Fix `ActiveRecord::RecordNotFound` error message with custom primary keyKuldeep Aggarwal2014-01-251-2/+2
| * Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-211-8/+8
| * Ensure #second acts like #first AR finderJason Meller2014-01-201-7/+87
* | adding bind values to the manager objectAaron Patterson2014-01-131-1/+2
|/
* doc, API example on how to use `Model#exists?` with multiple IDs. [ci skip]Yves Senn2014-01-101-0/+1
* Fix offset with last.Lauro Caetano2013-12-031-1/+1
* document id prefixed String usage of `.find`. refs #12891 [ci skip]Yves Senn2013-11-151-5/+6
* Merge branch 'master' into joindepAaron Patterson2013-10-211-0/+2
|\
| * Raise an exception when model without primary key calls .find_with_idsShimpei Makimoto2013-10-211-0/+2
| * Don't remove the select values to add they back againRafael Mendonça França2013-10-151-1/+1
* | Merge branch 'master' into joindepAaron Patterson2013-10-151-2/+1
|\|
| * Merge pull request #11791 from versioncontrol/includes_with_persistent_selectRafael Mendonça França2013-10-121-1/+1
| |\
| | * Fixes #11773 when using includes combined with select, the select statement w...Edo Balvers2013-10-081-1/+1