Sha256: 8b5c10bcf237182567aa083314cbfe8e4abd00efcf9d5b3a41d57fb34003ccc6

Contents?: true

Size: 245 Bytes

Versions: 7

Compression:

Stored size: 245 Bytes

Contents

class User
  include ActiveModel::Validations
  include ActiveModel::Conversion
  extend ActiveModel::Naming

  attr_accessor :email, :password, :remember_me, :phone, :subscribe, :avatar

  def persisted?
    true
  end

  def id
    2
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bh-1.3.6 examples/rails/app/models/user.rb
bh-1.3.5 examples/rails/app/models/user.rb
bh-1.3.4 examples/rails/app/models/user.rb
bh-1.3.3 examples/rails/app/models/user.rb
bh-1.3.1 examples/rails/app/models/user.rb
bh-1.3.0 examples/rails/app/models/user.rb
bh-1.2.0 examples/rails/app/models/user.rb