public
Description: Use different columns then created_at and updated_at for timestamps
Homepage: http://workswithruby.com/2009/4/custom-activerecord-timestamps
Clone URL: git://github.com/DefV/custom_timestamps.git
name age message
file MIT-LICENSE Mon Apr 27 06:40:01 -0700 2009 Plugin import [DefV]
file README Mon Apr 27 06:40:01 -0700 2009 Plugin import [DefV]
file Rakefile Mon Apr 27 06:40:01 -0700 2009 Plugin import [DefV]
file init.rb Mon Apr 27 06:40:01 -0700 2009 Plugin import [DefV]
directory lib/ Wed Apr 29 03:56:41 -0700 2009 Don't interfere with the alias_method_chain-cha... [DefV]
directory test/ Mon May 04 04:44:12 -0700 2009 Run tests in memory [DefV]
README
CustomTimestamps
================

Some legacy databases have already defined their own created_at or updated_at fields. They can be easily filled in with 
ActiveRecord before_save filters, but changing this should be trivial. This plugin enables you to set your own column 
names for these timestamps

Example
=======

class LegacyModel < ActiveRecord::Base
  set_create_column :creation_time
  set_update_column :change_time
end


Copyright (c) 2009 Jan De Poorter, released under the MIT license