Hello all ! A really simple plugin. It allows you to simplify your booleans. Instead of: if @post.published_at > Time.now then # do something else # do something else end The plugin allows you to write: if @post.published_at.in_future? then # do something else # do something else end This is something simple, but really useful, I think. Installation: $ script/plugin install \ svn://svn.teksol.info/svn/rails/plugins/time_extensions \ vendor/plugins/time_extensions Blog post describing the plugin (essentially the same text): http://blog.teksol.info/articles/2006/11/13/timeextensions-plugin Enjoy ! -- François Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---