# Date/time scopes for ActiveRecord models [![Gem Version](https://badge.fury.io/rb/datetime-scopes.svg)](https://badge.fury.io/rb/datetime-scopes) [![Build Status](https://travis-ci.org/907th/datetime-scopes.svg?branch=master)](https://travis-ci.org/907th/datetime-scopes) [![Code Climate](https://codeclimate.com/github/907th/datetime-scopes/badges/gpa.svg)](https://codeclimate.com/github/907th/datetime-scopes) [![Test Coverage](https://codeclimate.com/github/907th/datetime-scopes/badges/coverage.svg)](https://codeclimate.com/github/907th/datetime-scopes/coverage) Date/time scopes for ActiveRecord models you always missed! With proper time-zones support. ## Quick start ```ruby # Gemfile gem "datetime-scopes" ``` ```ruby # app/models/my_model.rb class MyModel < ActiveRecord::Base datetime_scopes :created_at # with 'datetime' typed attribute date_scopes :birthday # with 'date' typed attribute end ``` Now your model has these scopes:
for created_at | for birthday |
|
|