lib/merit/model_additions.rb in merit-0.3.0 vs lib/merit/model_additions.rb in merit-0.3.1
- old
+ new
@@ -13,10 +13,10 @@
end
end
def badges
create_sash_if_none
- Badge.find_by_id(sash.badge_ids).to_a
+ Badge.find_by_id(sash.badge_ids)
end
# Create sash if doesn't have
def create_sash_if_none
if sash.nil?