Browse files

Dont abbreviate that which needs no abbreviation

  • Loading branch information...
1 parent f35f4ae commit d85c1dd38d301ddf79eeba6e5ca70f54ef3337fe @dhh dhh committed Apr 8, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/generators/erb/scaffold/templates/_form.html.erb
View
4 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 d85c1dd

Please sign in to comment.