RubyGems Navigation menu

ar_after_timestamps 0.2.0

Gem that plugs into 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.5 KB)

Runtime 依赖 (1):

activerecord < 3.0

Development 依赖 (4):

业主:

作者:

  • Elliot Winkler

SHA 256 校验和:

25e15eb22805ced5b31d0561e813b6c1996b0bd6f3afd67748e2b43f4bd54a95

下载总量 6,120

这个版本 6,120

许可:

需要的 Ruby 版本:

链接: