Plugins - Time Extensions
Add to favoritesMinor extensions to Time and Date to make your code more readable.
How often have you written code like this:
if @time >= Time.now then # In past else # In future end
This plugin / gem allows you to write the following instead:
if @time.in_past? then # In past else # In future end
This is simple, but makes the code more readable.
http://blog.teksol.info/articles/2006/11/13/timeextensions-plugin
svn://svn.teksol.info/svn/rails/plugins/time_extensions
Misc. Enhancements
