Module: Protected

Defined in:
app/models/protected/old_password.rb,
lib/protected.rb,
app/models/protected.rb,
lib/protected/engine.rb,
lib/protected/version.rb,
app/models/protected/user.rb,
app/helpers/protected/passwords_helper.rb,
app/helpers/protected/application_helper.rb,
app/controllers/protected/users_controller.rb,
app/controllers/protected/sessions_controller.rb,
app/controllers/protected/passwords_controller.rb,
lib/generators/protected/views/views_generator.rb,
app/controllers/protected/admin/users_controller.rb,
app/controllers/protected/application_controller.rb,
lib/generators/protected/install/install_generator.rb,
app/controllers/protected/admin/protected_controller.rb

Overview

Schema Information

Table name: old_passwords

id                       :integer(4)      not null, primary key
encrypted_password       :string(128)     not null
password_salt            :string(255)
password_archivable_id   :integer(4)      not null
password_archivable_type :string(255)     not null
created_at               :datetime

Defined Under Namespace

Modules: Admin, ApplicationHelper, Generators, PasswordsHelper Classes: ApplicationController, Engine, OldPassword, PasswordsController, SessionsController, User, UsersController

Constant Summary collapse

VERSION =
"1.0.4"

Class Method Summary collapse

Class Method Details

.table_name_prefixObject



2
3
4
# File 'app/models/protected.rb', line 2

def self.table_name_prefix
  'protected_'
end