-
Notifications
You must be signed in to change notification settings - Fork 0
natedaiger/paperclip_fixtures
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hi. This does for Paperclip what attachment_fu_fixtures did for attachment_fu. Example: class Person < ActiveRecord::Base has_attached_file :attractive_photo has_attached_file :unattractive_photo end You could do a fixture like this: frank: name: Frank Stallone file_for_attractive_photo: /home/frank/looking_good.jpg file_for_unattractive_photo: /home/frank/oh_tonight_got_kind_of_weird.jpg There you go! Inspiration and some code code from: http://github.com/mynyml/attachment_fu_fixtures/tree/master
About
Support for fixtures containing Paperclip attachment files
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published