Skip to content

jdejong/devise_traceable

 
 

Repository files navigation

devise_traceable

It adds support to devise for tracing.

Installation

All gems are on gemcutter, so you need to add gemcutter to your sources if you haven’t yet:

sudo gem sources -a http://gemcutter.org/

Install devise_traceable gem, it should install dependencies (such as devise and warden):

sudo gem install devise_traceable

Configure devise_traceable inside your app (and warden and devise if you weren’t using them):

gem 'warden'
gem 'devise'
gem 'devise_traceable'

Usage

 rails g devise_traceable User

 in User Model add :traceable as follow

class User < ActiveRecord::Base
  devise :database_authenticatable, ..... , :traceable
end

Views

to use the simple audit view set @tracing_entries

Copyright © 2010 mobiThought. See LICENSE for details.

About

Tracing Devise Model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 96.1%
  • HTML 3.9%