Displaying 1 result from an estimated 1 matches for "green_nature_on_white".
2007 Oct 24
4
RAILS_ROOT
Hey,
I''m using the attachment_fu plugin to upload images on the file system.
To retrieve them I''m using:
image = "/home/rajeev/Desktop/logo/logo/public#{icon.public_filename}"
which is the same as:
"/home/rajeev/Desktop/logo/logo/public/icons/0000/0005/green_nature_on_white.jpg"
Have can i do this in a shorter way by using RAILS_ROOT? I have tried
this but no success.
Would appreciate any help.
Thanks
Raj
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to t...