public
Clone URL: git://github.com/fesplugas/simplified_activity_stream.git
name age message
file MIT-LICENSE Fri Jul 04 04:05:33 -0700 2008 Base tree [fesplugas]
file README Sun Sep 14 06:47:42 -0700 2008 Updated README [fesplugas]
file Rakefile Fri Jul 04 04:05:33 -0700 2008 Base tree [fesplugas]
directory app/ Fri Jul 04 06:16:44 -0700 2008 Cleaned [fesplugas]
directory config/ Fri Oct 03 06:47:53 -0700 2008 Roles ... [fesplugas]
directory generators/ Sun Sep 14 06:47:02 -0700 2008 Renamed generators [fesplugas]
file init.rb Sun Sep 14 06:46:46 -0700 2008 Fixed deprecation warning [fesplugas]
directory lib/ Fri Jul 04 05:10:07 -0700 2008 Activity Stream for a model that doesnt belong ... [fesplugas]
directory test/ Fri Jul 04 05:10:07 -0700 2008 Activity Stream for a model that doesnt belong ... [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