Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Timestamp AR fields

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 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.