Skip to content

Instantly share code, notes, and snippets.

@levicole
Created August 7, 2009 02:33
Show Gist options
  • Save levicole/163681 to your computer and use it in GitHub Desktop.
Save levicole/163681 to your computer and use it in GitHub Desktop.
Factory.define :hot_model do |f|
f.sequence(:unique_attr) {|i| "heidi_klum#{i}" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment