lib/generators/tableficate/table/templates/table.rb in tableficate-0.2.0 vs lib/generators/tableficate/table/templates/table.rb in tableficate-0.2.1
- old
+ new
@@ -1,5 +1,5 @@
class <%= class_name %> < Tableficate::Base
<% if scope -%>
- scope :<%= scope.tableize %>
+ scope :<%= scope.underscore %>
<% end -%>
end