This is a rails-plugin which can create a checkbox for attributes which are datetime-fields in the database. So, if you want to store the date when a user appected some terms or received some goods, but want to circumvent the need of selecting the proper date and time from 6 dropdowns, you can just use this plugin. It creates some wrapper-methods on the model for the attributes you specify and provides a form-helper which uses these. The model-method also work with standard checkbox-tags

installgem install date_checkbox

Matthias Viehweger

1,387 total downloads 1,387 for this version


gem 'date_checkbox', '~> 0.0.1'
  1. 0.0.1 June 13, 2011 (9 KB)
Runtime Dependencies
  1. rails ~> 3.0.0