Displaying 1 result from an estimated 1 matches for "a3552630".
Did you mean:
1355260
2006 Mar 23
5
Filecolumn storage location
Hi,
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'',
''images'', ''products'')
So, my images get uploaded to:
/public/images/products/<primary_key>