Skip to content

About

Resources

Stars

0 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

ActiveRecord model w/ a start_date and an end_date == ActsAsSpan

Treat those date spans like the objects they are!

In your Gemfile:

gem "acts_as_span"

In your model:

class SpanRecord < ActiveRecord::Base
  acts_as_span
end

Handle your migrations:

rails g acts_as_span:update model_name

Copyright © 2011-2012 Annkissam. See LICENSE for details.

About

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages