<%if @item.rigged %>Yes<%else%>No<%end%>
I was thinking of something like this?
if @item.rigged ? "Yes" : "No"
But it doesn’t work. Ruby has the ||=
but I”m not even sure how to use that thing.
<%if @item.rigged %>Yes<%else%>No<%end%>
I was thinking of something like this?
if @item.rigged ? "Yes" : "No"
But it doesn’t work. Ruby has the ||=
but I”m not even sure how to use that thing.