Sha256: eb99362c97adb624c87fe7719928bee70f2ea3b1c424c8935b1cc4ed0846e72f

Contents?: true

Size: 244 Bytes

Versions: 9

Compression:

Stored size: 244 Bytes

Contents

# Read about factories at http://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :<%= singular_name %> do
  <% for attribute in attributes -%>
    <%= attribute.name %> <%= attribute.default.inspect %>
  <% end -%>
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
factory_girl_rails-1.2.0 lib/generators/factory_girl/model/templates/fixtures.rb
factory_girl_rails-1.1.0 lib/generators/factory_girl/model/templates/fixtures.rb
rails_templater-0.2.1 lib/template_framework/generators/factory_girl/model/templates/fixtures.rb
rails_templater-0.2.0 lib/template_framework/generators/factory_girl/model/templates/fixtures.rb
rails3-generators-0.17.4 lib/generators/factory_girl/model/templates/fixtures.2.rb
rails_templater-0.1.2 lib/template_framework/generators/factory_girl/model/templates/fixtures.rb
rails_templater-0.1.1 lib/template_framework/generators/factory_girl/model/templates/fixtures.rb
rails3-generators-0.17.3 lib/generators/factory_girl/model/templates/fixtures.rb
rails_templater-0.0.2 lib/template/generators/factory_girl/model/templates/fixtures.rb