lib/generators/haml/scaffold/templates/index.html.haml in haml-rails-0.8.2 vs lib/generators/haml/scaffold/templates/index.html.haml in haml-rails-0.9.0
- old
+ new
@@ -7,10 +7,10 @@
%th <%= attribute.human_name %>
<% end -%>
%th
%th
%th
-
+
%tbody
- @<%= plural_table_name %>.each do |<%= singular_table_name %>|
%tr
<% for attribute in attributes -%>
%td= <%= singular_table_name %>.<%= attribute.name %>