aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/result.rb
diff options
context:
space:
mode:
authorJuanjo Bazán <jjbazan@gmail.com>2012-01-30 21:36:47 +0100
committerJuanjo Bazán <jjbazan@gmail.com>2012-01-31 19:50:09 +0100
commit8270e4a8ce8337fca98030953922e5992b06a3dd (patch)
treeb7a1c68c6fe36a18c88e92363f648b609091ee5f /activerecord/lib/active_record/result.rb
parentbb842e8d2111e50b21a14b8bd6d89371a4b9cd68 (diff)
downloadrails-8270e4a8ce8337fca98030953922e5992b06a3dd.tar.gz
rails-8270e4a8ce8337fca98030953922e5992b06a3dd.tar.bz2
rails-8270e4a8ce8337fca98030953922e5992b06a3dd.zip
Added `none` query method to return zero records.
And added NullRelation class implementing the null object pattern for the `Relation` class.
Diffstat (limited to 'activerecord/lib/active_record/result.rb')
0 files changed, 0 insertions, 0 deletions