DefV / custom_timestamps
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
028fe2a
Jan De Poorter (author)
Mon May 04 04:44:12 -0700 2009
commit 028fe2a2a3f180ec381de239ff0bfc89624684c5
tree 4315a5a7912c985d51de97420a7b6b374d0a24fb
parent 9a01783dcc2fb1b5beee60baaf9a03ea3d28d54c
tree 4315a5a7912c985d51de97420a7b6b374d0a24fb
parent 9a01783dcc2fb1b5beee60baaf9a03ea3d28d54c
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

