I got four different models.
Here's an example,
@single = Single.all @coe = Coe.all @blend = Blend.all @production = @single+@coe+@blend then how to check which model @production is?
I tried
<% @production.each do |p| %> <%=p.class.name%> <% end %> but it returns "Array"
It seems to be simple, but I can't find out (I edited question)