标签:eth undefined blog flow pre bsp ram _for err
rails undefined method error_messages
学习了:http://stackoverflow.com/questions/10002140/use-error-messages-in-rails-3-2-raises-undefined-method-error
<%= form_for [@camp, @program] do |f| %> <% @program.errors.full_messages.each do |msg| %> <p><%= msg %></p> <% end %> <%= f.label :name %> <% end %>
rails undefined method error_messages
标签:eth undefined blog flow pre bsp ram _for err
原文地址:http://www.cnblogs.com/stono/p/6759652.html