I got problem with make form where i can chose between true or false.
In model ticket i got:
type:boolean
When i'm making check_box in form i got this error msg:
Invalid single-table inheritance type: 1 is not a subclass of Ticket
My form code:
<%= form_for [@movie, @seance, @ticket] do |f| %>
<div>
<%= f.label :type %><%= f.check_box :type %>
<%end%>