<% if @hoge.errors.any? %><% end %><%= pluralize(@hoge.errors.count, "error") %> prohibited this hoge from being saved:
<% @hoge.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
モノづくりって楽しい(*´∀`*) / [html][css][java script][jQuery][php][cakephp][MySQL] / [illustrator][photoshop][sai][EDGE]