Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Event logging for active record models

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 generators
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 tasks
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 init.rb
Octocat-spinner-32 install.rb
Octocat-spinner-32 uninstall.rb
README
== ActsAsEventable

ActsAsEventable makes it easy to log events corresponding to actions taken on active record models.

== Usage

in your controller (typically application_controller)

class FooController 
  record_events
  
  # or 
  
  record_events lambda { something_that_returns_a_user }
end

in your model

class FooModel
  acts_as_eventable
end


Copyright (c) 2009 Kris Rasmussen, released under the MIT license
Something went wrong with that request. Please try again.