Skip to content
collection of handy named_scopes for ActiveRecord models http://defkode.com
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore added expired, valid scopes for date/datetime column named: expires_at
README.rdoc README
Rakefile gemified
trixy_scopes.gemspec

README.rdoc

TrixyScopes

Collection of useful named scopes for ActiveRecord

Installation

sudo gem install trixy_scopes

Environment

config.gem "trixy_scopes", :source => "http://gemcutter.org"

include TrixyScopes module into your ActiveRecord model:

class Product < ActiveRecord::Base

  include TrixyScopes

  (...)

end

Usage

wiki.github.com/defkode/trixy_scopes

Copyright

Copyright © 2009 Tomasz Mazur, released under the MIT license

Something went wrong with that request. Please try again.