Sha256: fd0a3d15a5bd5ac5a5cf9cd30eef9a882ca0358b630aeed0d123695e470a2057

Contents?: true

Size: 355 Bytes

Versions: 7

Compression:

Stored size: 355 Bytes

Contents

class User < ActiveRecord::Base

  attr_accessible :name, :email, :password, :password_confirmation

  authenticates_with_sorcery!

  validates :email,
            presence: true,
            email: true

  validates :password,
            presence: true,
            length: { minimum: 6 },
            confirmation: true,
            if: :password

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
raygun-0.0.13 app_prototype/app/models/user.rb
raygun-0.0.11 templates/_app/models/user.rb
raygun-0.0.10 templates/_app/models/user.rb
raygun-0.0.7 templates/_app/models/user.rb
raygun-0.0.6 templates/_app/models/user.rb
raygun-0.0.5 templates/_app/models/user.rb
raygun-0.0.4 templates/_app/models/user.rb