Skip to content
This repository

Welcome to the seed-fu wiki!

How to seed a file if you have a model that uses Paperclip:
I created a directory called ‘simages’ with the files to seed, though it could be anywhere (public/images, test/fixtures etc.). Then it’s just:


  s.logo = File.new("#{RAILS_ROOT}/simages/logo.jpg")
Something went wrong with that request. Please try again.