user_custom_attributes.rb 155 Bytes EditWeb IDE 1 2 3 4 5 6 7 FactoryGirl.define do factory :user_custom_attribute do user sequence(:key) { |n| "key#{n}" } sequence(:value) { |n| "value#{n}" } end end