Skip to content

Instantly share code, notes, and snippets.

@adyrcz
Created July 14, 2014 01:54
Show Gist options
  • Save adyrcz/b7ad1d617b519ff4956b to your computer and use it in GitHub Desktop.
Save adyrcz/b7ad1d617b519ff4956b to your computer and use it in GitHub Desktop.
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
has_many :audit
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment