I was searching web for sometime but I couldn't find the answer. Is there a way to get the local path for public folder of a rails application. Lets say my applications name is 'depot'. I want the path to its public folder regardless of where I put the application in the harddisk. For example 'C:\rails\depot\public' or 'D:\foo\doo\depot\public' Is there a method/class for that? Thx alot
on 2008-10-16 21:48
on 2008-10-16 21:52
Does: RAILS_ROOT+'/public' solve your problem?
on 2008-10-16 21:57
yep great, How I could not find such a simple answer :) Thx alot mate. 2008/10/16 Ar Chron <email@example.com>