Simple date filters for ActiveRecord
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
LICENSE
README.md
Rakefile
date_filter.gemspec

README.md

date_filter

This is basically the simplest rails plugin ever. It is mainly an example of creating your own Rails plugins.

DateFilter adds newest and oldest methods to ActiveRecord. These methods are used like first and last except they are automatically orded by created_at.