Sha256: 932c47f363fee747f75d6b452607dc6d11c98eaafbf98ecb2e62ce7aa3dc4630

Contents?: true

Size: 193 Bytes

Versions: 9

Compression:

Stored size: 193 Bytes

Contents

class User
  include Dynamoid::Document
  
  field :name
  field :email
  field :password
  
  index :name
  index :email
  index [:name, :email]
  
  has_and_belongs_to_many :subscriptions
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dynamoid-0.1.2 spec/app/models/user.rb
dynamoid-0.1.1 spec/app/models/user.rb
dynamoid-0.1.0 spec/app/models/user.rb
dynamoid-0.0.7 spec/app/models/user.rb
dynamoid-0.0.6 spec/app/models/user.rb
dynamoid-0.0.5 spec/app/models/user.rb
dynamoid-0.0.4 spec/app/models/user.rb
dynamoid-0.0.3 spec/app/models/user.rb
dynamoid-0.0.2 spec/app/models/user.rb