Getdate Column plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://svn.kylemaxwell.com/rails_plugins/getdate_column/trunk/
class Event < ActiveRecord::Base getdate_column :start getdate_column :finish, :date_format => :short end
>> e = Event.new => # >> e.start = "tomorrow" => "tomorrow" >> e.start => "July 28, 2006 09:12" >> e.start(:raw) => Fri Jul 28 09:12:39 PDT 2006 >> e.start(:raw).class => Time
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

