validates_timeliness
https://github.com/adzap/validates_timeliness
Ruby
Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
ValidatesTimeliness::Extensions::DateTimeSelect::DateTimeValue#hour=
No Docs, write some!
Edit
git clone git@github.com:adzap/validates_timeliness.git
cd validates_timeliness
open lib/validates_timeliness/extensions/date_time_select.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ValidatesTimeliness--Extensions--DateTimeSelect--DateTimeValue-hour--for-pr
# Commit to gitgit add lib/validates_timeliness/extensions/date_time_select.rbgit commit -m "better docs for ValidatesTimeliness::Extensions::DateTimeSelect::DateTimeValue#hour="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ValidatesTimeliness--Extensions--DateTimeSelect--DateTimeValue-hour--for-pr
hub pull-request
# Celebrate!