Sha256: cec4bc972d23d0a7e474adc4932a55639bb2898e96a29949dc25459e697a559d

Contents?: true

Size: 197 Bytes

Versions: 19

Compression:

Stored size: 197 Bytes

Contents

module Merit::Models
  module BadgesSashConcern
    extend ActiveSupport::Concern

    included do
      belongs_to :sash
    end

    def badge
      Merit::Badge.find(badge_id)
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
merit-4.0.3 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.12 lib/merit/models/badges_sash_concern.rb
merit-4.0.2 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.11 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.10 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.09 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.08 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.07 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.06 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.05 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.04 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.03 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.02 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.01 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.5.00 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.0.4 lib/merit/models/badges_sash_concern.rb
qalam_merit-4.0.35 lib/merit/models/badges_sash_concern.rb
merit-4.0.1 lib/merit/models/badges_sash_concern.rb
merit-4.0.0 lib/merit/models/badges_sash_concern.rb