diff options
author | Juanjo Bazán <jjbazan@gmail.com> | 2012-01-30 21:36:47 +0100 |
---|---|---|
committer | Juanjo Bazán <jjbazan@gmail.com> | 2012-01-31 19:50:09 +0100 |
commit | 8270e4a8ce8337fca98030953922e5992b06a3dd (patch) | |
tree | b7a1c68c6fe36a18c88e92363f648b609091ee5f /activerecord/lib/active_record/result.rb | |
parent | bb842e8d2111e50b21a14b8bd6d89371a4b9cd68 (diff) | |
download | rails-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