Activity Tracker for tog applications maybe for any rails applications
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
lib
locale
rails
spec
tasks
test
MIT-LICENSE
README.markdown
Rakefile

README.markdown

Tog Activity

WORK IN PROGRESS

Scope

  • Define the report/record/log of activities in only one place throught activities observers
  • Define the views of each activity separately with partials
  • Define the messages of each activity in one place - I18n support
  • Maybe define filters through an yml file to show specific activities

Notes

  • In activities views you must define the helper used to show an icon.

Resources

Gem requirements for test environment

Install

  • Install plugin form source:
ruby script/plugin install git://github.com:pacoguzman/tog_activity.git
  • Generate installation migration:
ruby script/generate migration install_tog_activity
  with the following content:
class InstallTogActivity < ActiveRecord::Migration
  def self.up
    migrate_plugin "tog_activity", 1
  end

  def self.down
    migrate_plugin "tog_activity", 0
  end
end
  • Add this require just below require 'desert' in the environment.rb file, with this desert handle correctly the observers used in tog_activity
require File.join("#{Rails.root}", "vendor", "plugins", "tog_activity", "lib", "desert_ext", "with_observers")

More

http://github.com/pacoguzman/tog_activity

http://github.com/pacoguzman/tog_activity/wikis

Copyright (c) Paco Guzman, released under the MIT license