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
          gem 'ar_after_timestamps', '~> 0.2.0'
  
  
  
  
  
  
  

install
          gem install ar_after_timestamps
  
  
  
  
  
  
  

Authors:

  • Elliot Winkler

Owners:

Total downloads 2,346

For this version 2,346

Required Ruby Version: None

Links: