# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html one: <%= class_name.constantize.primary_key %>: 1 <% for attribute in attributes -%> <%= attribute.name %>: <%= attribute.default %> <% end -%> created_at: <%= Time.now.to_s(:db) %> updated_at: <%= Time.now.to_s(:db) %> two: <%= class_name.constantize.primary_key %>: 2 <% for attribute in attributes -%> <%= attribute.name %>: <%= attribute.default %> <% end -%> created_at: <%= Time.now.to_s(:db) %> updated_at: <%= Time.now.to_s(:db) %>