Skip to content
Timestamp AR fields
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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
Something went wrong with that request. Please try again.