RubyGems Navigation menu

after_timestamps 0.2.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:
= Copier Copié!

installation:
=

Versions:

  1. 0.2.0 - January 09, 2010 (7,5 ko)
  2. 0.1.0 - January 08, 2010 (7,5 ko)

Dépendances de Runtime (1):

activerecord < 3.0

Dépendances de Development (4):

Propriétaires:

Auteurs:

  • Elliot Winkler

Total de contrôle SHA 256:

e8451e6338b621d8f78ae2ea0475cc374f0b3ef3f30fb4d691afd9c77392711f

Total de téléchargements 11 912

Pour cette version 6 555

License:

aucune

Version de Ruby requise: None

Liens: