RubyGems Navigation menu

after_timestamps 0.1.0

Plugin for Ruby on Rails that gives you a way to add a callback to the ActiveRecord callback chain that will be executed right after the record's timestamp columns are set, but before the record is actually saved to the database. This is useful if you want to do something with the timestamps, such as defaulting another time column to created_at, or rolling back a timestamp by a certain amount.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.2.0 - January 09, 2010 (7.5KB)
  2. 0.1.0 - January 08, 2010 (7.5KB)

Runtime依存関係 (1):

activerecord >= 1.2.6

Development依存関係 (4):

mcmire-context >= 0.5.6
mcmire-matchy >= 0.4.1
rr >= 0.10.5
rr-matchy >= 0.1.0

所有者:

作者:

  • Elliot Winkler

SHA 256チェックサム:

deb47af509f91ab0d20a9dda8f047c6c1061905a48d188022d6623135a71ce18

累計ダウンロード数 11,917

このバージョンのみ 5,360

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: