Sha256: 9ce506e71ae6a2f24f7181c67b29cf37385e58c76d7e009db53a30a69266bb39

Contents?: true

Size: 356 Bytes

Versions: 6

Compression:

Stored size: 356 Bytes

Contents

module Merit::Models::ActiveRecord
  class BadgesSash < ActiveRecord::Base
    include Merit::Models::BadgesSashConcern

    has_many :activity_logs,
             class_name: 'Merit::ActivityLog',
             as: :related_change

    validates_presence_of :badge_id, :sash
  end
end

class Merit::BadgesSash < Merit::Models::ActiveRecord::BadgesSash; end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
merit-4.0.3 lib/merit/models/active_record/badges_sash.rb
merit-4.0.2 lib/merit/models/active_record/badges_sash.rb
qalam_merit-4.0.4 lib/merit/models/active_record/badges_sash.rb
qalam_merit-4.0.35 lib/merit/models/active_record/badges_sash.rb
merit-4.0.1 lib/merit/models/active_record/badges_sash.rb
merit-4.0.0 lib/merit/models/active_record/badges_sash.rb