Sha256: 11b5dd0cc454015023080ee50df9b92bd81a4d111f7bd6b60615804da4423c7f

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 Bytes

Contents

class User
  include ActiveModel::Model
  include ActiveModel::Attributes

  attribute :name
  attribute :description
  attribute :color
  attribute :score
  attribute :current_city
  attribute :previous_city
  attribute :past_cities
  attribute :remember_me
  attribute :subscribe_to_emails

  validates :name, presence: true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shoelace-rails-0.4.1 test/dummy_app/app/models/user.rb
shoelace-rails-0.4.0 test/dummy_app/app/models/user.rb
shoelace-rails-0.3.0 test/dummy_app/app/models/user.rb
shoelace-rails-0.2.0 test/dummy_app/app/models/user.rb
shoelace-rails-0.1.0 test/dummy_app/app/models/user.rb