Sha256: 0cdedbae40c8d2e7a86cf7c72166ebb35ea6dda4e6a76a9f62535667ec1c3dd1
Contents?: true
Size: 392 Bytes
Versions: 13
Compression:
Stored size: 392 Bytes
Contents
module ConfigManager class Admin < ActiveRecord::Base devise :database_authenticatable, :rememberable, :registerable, :trackable, :validatable def self.needs_attr_accessible? Rails::VERSION::MAJOR == 3 end attr_accessible :email, :password, :password_confirmation, :remember_created_at if needs_attr_accessible? end end
Version data entries
13 entries across 13 versions & 1 rubygems