I started my rails application using mongrel with --prefix=/myapp;
But this fails when I use --prefix option;
is there a method in rails which will return the path prefix (in this
case its: myapp);
and then make an ajax call to ( PATH + '/get_pics') ?
OR Is there any other way to solve this problem ?