Sha256: 51035f399d004ed816b3e0d964cbc8573b8a06f210091f9e51671df13e12316f

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

class Album < ApplicationRecord
  include Recommender::Recommendation

  has_and_belongs_to_many :users
  validates :name, presence: true, uniqueness: { case_sensitive: false }

  set_association :users
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
recommender-2.0.1 spec/test_app/app/models/album.rb
recommender-0.1.0 spec/test_app/app/models/album.rb