spec/models/user.rb in bullet-7.0.0 vs spec/models/user.rb in bullet-7.0.1
- old
+ new
@@ -2,6 +2,7 @@
class User < ActiveRecord::Base
has_one :submission
has_one :submission_attachment, through: :submission, source: :attachment, class_name: 'Attachment'
belongs_to :category
+ has_and_belongs_to_many :roles
end