|
module Merit::Models |
6✔ |
|
module BadgesSashConcern |
6✔ |
|
extend ActiveSupport::Concern |
6✔ |
4 |
|
|
|
included do
|
6✔ |
|
belongs_to :sash
|
× |
7 |
end
|
|
8 |
|
|
|
def badge |
6✔ |
|
Merit::Badge.find(badge_id) |
× |
11 |
end
|
|
12 |
end
|
|
13 |
end
|