binarylogic / searchlogic

Searchlogic provides object based searching, common named scopes, and other useful tools.
http://rdoc.info/projects/binarylogic/searchlogic
MIT License
1.4k stars 133 forks source link

limited(10) scope #136

Open ghazel opened 13 years ago

ghazel commented 13 years ago

Similar to Pacecar and Rails 3, it would be nice (for us on Rails 2.3.10) to have a .limited(10) scope which would product LIMIT 10 in SQL.