<%= form_for @meal_spec do |f| %> <%= f.error_messages %>

<%= f.label :name %>
<%= f.text_field :name %>

<%= f.submit %>

<% end %>