Factory.define :user do |user|
user.name "My Name"
user.addresses {|addresses| [addresses.association(:address)]}
end
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(143)
-
▼
July
(15)
- Make Faker work with Factory Girl
- Has many association in Factory Girl
- Google styling scheme for tables
- How to handle uninitialized constants in Rails
- Seed data into development database using Bootstra...
- Host your configuration files on github
- chmod reference
- Convert mp3 to aac using Soundconverter and gstreamer
- SCP files with spaces in filenames
- Easy command line search with grep and find
- How to change Tilda font size & open URL links
- Webrat's fill_in method on cucumber
- Super easy and fast cd ripping using abcde on the ...
- Search for codes in your files quickly with grep
- Error using cucumber, selenium and firefox 3
-
▼
July
(15)
No comments:
Post a Comment