aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/null_relation.rb
Commit message (Collapse)AuthorAgeFilesLines
* improve NullRelation docs [ci skip]Vijay Dev2012-07-211-1/+0
|
* Fix typos and add nodocs to NullRelationOscar Del Ben2012-07-171-1/+1
|
* unused method argumentsAkira Matsuda2012-06-011-7/+6
|
* modulize AR::NullRelationAkira Matsuda2012-06-011-2/+2
| | | | now we can invoke previously added scope extension methods
* Override AR::Relation methods in NullRelation.Juanjo Bazán2012-04-111-0/+53
| | | So a NullRelation (Relation#none) is chainable with database methods.
* Added `none` query method to return zero records.Juanjo Bazán2012-01-311-0/+10
And added NullRelation class implementing the null object pattern for the `Relation` class.