Sha256: af57c60c24a2ec80caddfe47dc50b372e16d5b22b43ba8d0757f509bd2f26493

Contents?: true

Size: 172 Bytes

Versions: 19

Compression:

Stored size: 172 Bytes

Contents

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mdd-3.1.4 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.1.2 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.1.1 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.1.0 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.20 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.19 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.18 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.17 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.16 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.15 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.14 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.13 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.10 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.9 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.8 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.7 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.6 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.4 lib/generators/mdwa/scaffold/templates/models/model.rb
mdd-3.0.3 lib/generators/mdwa/scaffold/templates/models/model.rb