Sha256: b91d82f4306f3c0d6debe1371393bd0fbdedf871e0af2d486d29a8b30216c468

Contents?: true

Size: 152 Bytes

Versions: 2

Compression:

Stored size: 152 Bytes

Contents

class <%= @name.capitalize %> < ActiveRecord::Base
	attr_accessible <%= @attrs.select{|x| x["name"] != 'id' }.map{ |x| ':' +x["name"]}.join(", ") %>
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
freeRangeEggs-0.0.5.beta lib/templates/model.erb
freeRangeEggs-0.0.4.beta lib/templates/model.erb