aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/finder_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* 1.9 Syntax related changesAvnerCohen2012-11-101-1/+1
* Remove ActiveRecord::ModelJon Leighton2012-10-261-1/+1
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
* AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-311-1/+1
* Deprecate Relation#all.Jon Leighton2012-07-271-14/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-301-5/+7
|\
| * update AR::FinderMethods#exists?(false) example [ci skip]Francesco Rodriguez2012-06-281-5/+7
* | exists?(false) returns falseEgor Lynko2012-06-251-6/+6
|/
* Address ORA-00911 errors because of the heading underscore.Yasuo Honda2012-06-111-1/+1
* Fix that #exists? raises ThrowResult when called with an empty limitedBen Woosley2012-06-101-0/+2
* Add test to column alias in `exists?` SQL.Rafael Mendonça França2012-06-101-1/+1
* Minimal change to query generation of exists? that makes SQLServer and others...iaddict2012-06-101-1/+1
* fix typo and remove 'examples' noise [ci skip]Francesco Rodriguez2012-05-281-18/+6
* Updates examples for FinderMethods [ci skip]Alvaro Pereyra2012-05-281-2/+14
* Merge branch 'master' of github.com:lifo/docrailsAlvaro Pereyra2012-05-281-0/+1
|\
* | Adds examples to FinderMethods#first [ci skip]Alvaro Pereyra2012-05-281-0/+1
* | Remove blank trailing commentsHenrik Hodne2012-05-201-1/+0
|/
* Return false for exists? with new records - fixes #6199.Andrew White2012-05-101-2/+1
* Use `take` instead of `first` to avoid unwanted implicit ordering (fixes #6147)Marcelo Silveira2012-05-051-4/+4
* clean up implementation of dynamic methods. use method compilation etc.Jon Leighton2012-05-041-41/+0
* Use arel nodes instead of raw sqlMarcelo Silveira2012-05-021-3/+3
* Use Array#first instead of Array#[0]Marcelo Silveira2012-05-021-5/+5
* Introducing `take` as a replacement to the old behavior of `first`Marcelo Silveira2012-05-021-0/+27
* Document `last`, check for primary key on default order and use quoted table ...Marcelo Silveira2012-05-021-2/+5
* Made `first` finder consistent among database engines by adding aMarcelo Silveira2012-05-021-2/+18
* return value of block is returnedAaron Patterson2012-04-301-2/+5
* only yield to finder block if something is foundAaron Patterson2012-04-301-1/+1
* extract deprecated code for #find, #first, #last, #allJon Leighton2012-04-131-105/+36
* use a hash to store relation valuesJon Leighton2012-04-131-7/+7
* mention that coercion only happens when the primary key is an integer and use...Reg Braithwaite2012-04-121-2/+2
* Documents that ActiveRecord's find by id uses to_i to coerce its arguments to...Reg Braithwaite2012-04-121-1/+3
* Add Relation#find_by and Relation#find_by!Jon Leighton2012-03-301-0/+19
* Remove 'needless boolean casting'.Jack Chen (chendo)2012-03-261-1/+1
* Remove IdentityMapCarlos Antonio da Silva2012-03-131-10/+0
* Add dynamic find_or_create_by_{attribute}! method.Andrew White2012-03-121-1/+1
* use bind values for join columnsAaron Patterson2012-02-271-2/+2
* prepared statements can be disabledAaron Patterson2012-02-211-1/+1
* Revert "Merge pull request #4746 from jenslukowski/issue4718"Aaron Patterson2012-01-311-8/+1
* fix for Issue 4718Jens Lukowski2012-01-291-1/+8
* correctly handle order calls after a reorderMatt Jones + Scott Walker2012-01-031-2/+2
* allow reorder to affect eager loading correctlyMatt Jones + Scott Walker2011-12-281-1/+1
* Fix #exists? for AR::ModelJon Leighton2011-12-241-1/+1
* exclude ORDER BY clause when querying Relation#exists?Akira Matsuda2011-11-091-1/+1
* Merge pull request #2485 from akaspick/exists_fixJon Leighton2011-09-071-1/+3
|\
| * fix exists? to return false if passed nil (which may come from a missing URL ...Andrew Kaspick2011-08-101-1/+3
* | Use LIMIT sql word in last when it's possibleDamien Mathieu2011-09-051-1/+5
* | use LIMIT SQL word in first - Closes #2783Damien Mathieu2011-09-051-1/+1
|/
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-081-3/+3
* avoid Symbol#to_procVijay Dev2011-07-201-1/+1
* ActiveRecord: Fix eager loading so that giving a blank order clause generates...Elliot Winkler2011-07-181-1/+1