Squeegy Fleximage

Hello All,

I've been using squeegy fleximage for my image uploads. However while migrating my db, say through seeds, I'm not being able to completely achieve this because I'm having a " Validation failed: Image file is required ", coming due to the " acts_as_fleximage " in my model. How can I avoid this when doing my migrations ?



Something similar came up earlier this week. Try this inside your migration:

    class Image < ActiveRecord::base; end

Then your migration won't attempt to perform _any_ validation.

Ciao, Sheldon.