Inventario

<% Gamification::ItemType.where("key not in('legsjump','rightarmjump','leftarmjump')").select(:key).distinct.order(key: :asc).each do |item_type| %> <% Gamification::Inventory.where(user_id: @user.id, gamification_item_types: {key: item_type.key}) .joins(item: :item_type).each do |inventory| %>
<% end %> <% end %>