Permalink
Browse files

Dont abbreviate that which needs no abbreviation

  • Loading branch information...
dhh committed Apr 8, 2014
1 parent 10570cf commit 304d2f19c830bac17ce2a15d550bb7eb06ea2f11
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/generators/erb/scaffold/templates/_form.html.erb
@@ -4,8 +4,8 @@
<h2><%%= pluralize(@<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:</h2>
<ul>
- <%% @<%= singular_table_name %>.errors.full_messages.each do |msg| %>
- <li><%%= msg %></li>
+ <%% @<%= singular_table_name %>.errors.full_messages.each do |message| %>
+ <li><%%= message %></li>
<%% end %>
</ul>
</div>

0 comments on commit 304d2f1

Please sign in to comment.