Without digging too deep, I’ve never seen :rails_root before, could you
mean
“#{Rails.root/public/assets/users/:id/:style/:basename.:extension}”?
(in Rails 3).
On Saturday, 18 August 2012 01:17:51 UTC-4, Maddy wrote:
I’d recommend a name other than ‘assets’ for this directory - the asset
pipeline uses that URL, so you’re likely to get strange behavior
(especially in development mode) if you use it as well.
Other than that, you’ll need to provide more detail about what happens,
any
error messages, etc. The uploaded files clearly go somewhere…
–Matt J.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.