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.
Campaign#ensure_correct_campaign_attributes
No Docs, write some!
Edit
git clone [email protected]:adzap/validates_timeliness.git
cd validates_timeliness
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Campaign-ensure_correct_campaign_attributes-for-pr
# Commit to gitgit add git commit -m "better docs for Campaign#ensure_correct_campaign_attributes"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Campaign-ensure_correct_campaign_attributes-for-pr
hub pull-request
# Celebrate!