I am using file_column for some image uploading. I want to have all
the images stored under one root which I have managed by setting the
:store_dir option as below.
file_column :filename, :store_dir => File.join(RAILS_ROOT, ‘public’,
So, my images get uploaded to:
That’s fine. But none of my links to the images work.
What am I doing wrong?