Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (17 sloc) 860 Bytes
0.3.0
Added only_pks named scope (and pks class method)
0.2.3
Renamed metaclass to eigenclass to avoid conflict w/ Rails' method of the same name
0.2.2
* More flexible @ordered@ syntax (by jney - http://github.com/jney)
0.2.1
* Fixed except named scope not correctly determining its base class
(as reported by Marcus Crafter: http://github.com/crafterm)
0.2.0
* Added except scope from danielmorrison (http://github.com/danielmorrison)
Article.except(1, 2, 3) # Get all articles whose id is NOT 1, 2 or 3
Article.except(@article) # Get all articles except the given one
Article.except(Article.published) # Get all UN-published articles (poor example
# since it executes full "published" query first)
0.1.0
* Initial release with limit, with (eager loading) and ordered scopes.
Something went wrong with that request. Please try again.