Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 495 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 495 Bytes

devise_auditable

devise_auditable is a plugin for Devise that adds a audit log support to Devise.

Installation

Add devise_auditable to your Gemfile

gem 'devise_auditable'

Run the installer

rails g devise_auditable User

Add the auditable key to your devise user model

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

Optionally, you can add a has_many relationship to your devise model.