Sha256: 7f53890d2f816a1bf34b98f0c2a03c8876a557e9b0136c45aefbe6c047461c26

Contents?: true

Size: 175 Bytes

Versions: 9

Compression:

Stored size: 175 Bytes

Contents

Factory.define <%= full_name.to_sym.inspect %> do |factory|
<% for attribute in attributes -%>
  factory.<%= attribute.name %> <%= attribute.default.inspect %>
<% end -%>
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
hashrocket-hashrocket-terraformation-0.0.0 rails_generators/terramodel/templates/model_factory.rb.erb
hashrocket-terraformation-0.0.0 rails_generators/terramodel/templates/model_factory.rb.erb
hashrocket-terraformation-0.1.0 rails_generators/terramodel/templates/model_factory.rb.erb
hashrocket-terraformation-0.1.2 rails_generators/terramodel/templates/model_factory.rb.erb
terraformation-0.2.2 rails_generators/terramodel/templates/model_factory.rb.erb
terraformation-0.2.1 rails_generators/terramodel/templates/model_factory.rb.erb
terraformation-0.2.0 rails_generators/terramodel/templates/model_factory.rb.erb
terraformation-0.1.3 rails_generators/terramodel/templates/model_factory.rb.erb
terraformation-0.1.2 rails_generators/terramodel/templates/model_factory.rb.erb