Sha256: 5fbff555da05f0fc7aa475845cdd9c2e9bc1860eb9834e7719d23adefd0a9098

Contents?: true

Size: 538 Bytes

Versions: 8

Compression:

Stored size: 538 Bytes

Contents

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable,
  # :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me
  # attr_accessible :title, :body

  def name
    email
  end

  include SimplePages::Models::PageAuthor
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple-pages-rails-0.7.0 spec/dummy/app/models/user.rb
simple-pages-rails-0.6.0 spec/dummy/app/models/user.rb
simple-pages-rails-0.5.0 spec/dummy/app/models/user.rb
simple-pages-rails-0.4.0 spec/dummy/app/models/user.rb
simple-pages-rails-0.3.1 spec/dummy/app/models/user.rb
simple-pages-rails-0.3.0 spec/dummy/app/models/user.rb
simple-pages-rails-0.2.0 spec/dummy/app/models/user.rb
simple-pages-rails-0.1.0 spec/dummy/app/models/user.rb