assets pipeline in production mode

Hi,

I'm working on rails project, on version 3.2.6, so I have problems with assets in production mode. On localhost everything works fine because assets are in folder app/assets, but on production server assets are precompiled and set in public folder.

Now in images folder in assets I created new folder pdfimages, so path is assets/images/pdfimages. I have action in controller which enables file to upload. File should be uploaded to pdfimages folder. So how can I do this on production. Is the correct path

'assets/pdfimages/image.jpg' because it doesnt work for me?

Also, what is correct path to json file stored in assets/javascripts when defining it from jquery on production server?

Is it assets/example.json

Thanks in advance