lib/generators/mdwa/scaffold/templates/models/model.rb in mdd-3.0.2 vs lib/generators/mdwa/scaffold/templates/models/model.rb in mdd-3.0.3
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
class <%= @model.klass %> < ActiveRecord::Base
attr_accessible <%= @model.simple_attributes.collect {|a| ":" + a.name }.join(', ') %>
-end
\ No newline at end of file
+end