This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Fri Jul 04 04:05:33 -0700 2008 | [fesplugas] |
| |
README | Sun Sep 14 06:47:42 -0700 2008 | [fesplugas] |
| |
Rakefile | Fri Jul 04 04:05:33 -0700 2008 | [fesplugas] |
| |
app/ | Fri Jul 04 06:16:44 -0700 2008 | [fesplugas] |
| |
config/ | Fri Oct 03 06:47:53 -0700 2008 | [fesplugas] |
| |
generators/ | Sun Sep 14 06:47:02 -0700 2008 | [fesplugas] |
| |
init.rb | Sun Sep 14 06:46:46 -0700 2008 | [fesplugas] |
| |
lib/ | Fri Jul 04 05:10:07 -0700 2008 | [fesplugas] |
| |
test/ | Fri Jul 04 05:10:07 -0700 2008 | [fesplugas] |
README
= SimplifiedActivityStream
Log model activity.
== Getting Started
Create the migration ...
$ script/generate simplified_activity_stream
Run the migration ...
$ rake db:migrate
Enable the SimplifiedActivityStream on your models.
##
# app/models/post.rb
#
class Post < ActiveRecord::Base
use_activity_stream
end
Now, each time you do a CRUD action on the model it will be logged on an
ActivityStream.
== Using Typus?
If you're using Typus, ActivityStream will appear on the applications list.
== Acknowledgements
Inspired by a question on the Spanish Rails mailing list [ror-es].
Copyright (c) 2008 Francesc Esplugas Marti, released under the MIT license



