Sha256: f959242668234637499d67874514c79b9e1ae816bfcc359a5695bb375bc5389b

Contents?: true

Size: 122 Bytes

Versions: 5

Compression:

Stored size: 122 Bytes

Contents

class Entry < ApplicationRecord
  belongs_to :room
  belongs_to :user
  validates :user, uniqueness: { scope: :room }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
amazon-chime-sdk-rails-2.0.1 spec/rails_app/app/models/entry.rb
amazon-chime-sdk-rails-2.0.0 spec/rails_app/app/models/entry.rb
amazon-chime-sdk-rails-1.1.1 spec/rails_app/app/models/entry.rb
amazon-chime-sdk-rails-1.1.0 spec/rails_app/app/models/entry.rb
amazon-chime-sdk-rails-1.0.0 spec/rails_app/app/models/entry.rb