Displaying 1 result from an estimated 1 matches for "image_manager".
2006 May 30
0
Modules in the ''lib'' directory
Hi, I have a module in the /myApp/lib directory to help manage image
files. It is coincidentally called ''image_manager''.
There is a function in there called asset_path, which is used to
determine the path of the images that is defined as follows:
def asset_path
"#{RAILS_ROOT}/#{ASSET_DIR}/#{foo.id}"
end
I am including the image manager module in the model for the image, but
when I cal...