Sha256: 80cf495192fc216bb9edb19a97f6ad24973bec2a93d02809bf4c2635c2bfd681

Contents?: true

Size: 144 Bytes

Versions: 7

Compression:

Stored size: 144 Bytes

Contents

class <%= @model.klass %> < ActiveRecord::Base
  
	attr_accessible <%= @model.simple_attributes.collect {|a| ":" + a.name }.join(', ') %>
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mdd-3.0.2 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.1 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.0 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-2.0.3 lib/generators/mdd/scaffold/templates/models/model.rb
mdd-2.0.2 lib/generators/mdd/scaffold/templates/models/model.rb
mdd-2.0.1 lib/generators/mdd/scaffold/templates/models/model.rb
mdd-2.0 lib/generators/mdd/scaffold/templates/models/model.rb