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.

Versions:

  1. 0.2.0 - January 9, 2010 (7.5 KB)
  2. 0.1.0 - January 7, 2010 (7.5 KB)

Runtime Dependencies:

Authors:

  • Elliot Winkler

Owners:

E9e852b18079792bc5f4ec52b8e37c53

Total downloads 5,066

For this version 2,431

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'after_timestamps', '~> 0.1.0' = Copy to clipboard Copied!

install:
gem install after_timestamps -v 0.1.0 = Copy to clipboard Copied!

Links: