Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Dont abbreviate that which needs no abbreviation

  • Loading branch information...
commit d85c1dd38d301ddf79eeba6e5ca70f54ef3337fe 1 parent f35f4ae
David Heinemeier Hansson dhh authored
4 railties/lib/rails/generators/erb/scaffold/templates/_form.html.erb
View
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.