RailsCasts Pro episodes are now free!

Learn more or hide this

Mike K's Profile

GitHub User: mikekhristo

Comments by Mike K

Avatar

If you use a random filename for your photos, recreate_versions! won't save them to the model properly. See this: https://github.com/jnicklas/carrierwave/wiki/How-to%3A-Create-random-and-unique-filenames-for-all-versioned-files (specifically search for "recreate")