hi,
i want the imagesto be written to directory outside the rails
app using the file_column.
MY RAILS_APP PATH:/var/www/domain.in/rails_app
i want the images to be uploaded to a directory to
/var/www/domain.in/
the model is as below
class Entry < ActiveRecord::Base
file_column :image, :magick => {
:versions => { "thumb" =>"50x50"}
},{:root_path => "/var/www/domain.in/"}
end
the image upload is not happenin to the above specified path?it still
happens in the /rails_app/public/model etc..etc..
is there something that i''m missing??
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---