Timestamp AR fields
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
MIT-LICENSE
README
Rakefile

README

TimestampedField
==================

Use timestamps for boolean columns.


Example
=======

class User < ActiveRecord::Base
  include TimestampedField

  timestamped_field :active
end

u = User.new
u.active = true
u.active_changed_at #=> Tue May 19 15:53:29 -0400 2009


Copyright (c) 2009 Scott Taylor, released under the MIT license