I am using rails 3.1 and can not get the Update to actually delete the question when i click on the delete link.
The question is disappeared but the destroy command is not sent to the server and therefore when i refresh the page, the question reappears.
Hi,
I've been using Prawnto / Prawn and followed your railcast (great job btw, been subscribed since day one almost).
I seem to have hit a hurdle which I believe is to do with the recent rails releases (I am using 2.3.8 with ruby 1.8.7.
when adding :format => 'pdf' (:pdf) the url generated is :
localhost:3000/controller/action/id?format=pdf
and not
localhost:3000/controller/action/id.pdf
browsing directly to the id.pdf url works fine but with the link_to command the file that I download is named - unknown - which is not the desired result. it doesn't have a pdf extension even so a rename is needed before i can view it offline.
Hi,
I am using rails 3.1 and can not get the Update to actually delete the question when i click on the delete link.
The question is disappeared but the destroy command is not sent to the server and therefore when i refresh the page, the question reappears.
Anyone has any ideas?
thanks,
Liad
Hi,
I've been using Prawnto / Prawn and followed your railcast (great job btw, been subscribed since day one almost).
I seem to have hit a hurdle which I believe is to do with the recent rails releases (I am using 2.3.8 with ruby 1.8.7.
when adding :format => 'pdf' (:pdf) the url generated is :
localhost:3000/controller/action/id?format=pdf
and not
localhost:3000/controller/action/id.pdf
browsing directly to the id.pdf url works fine but with the link_to command the file that I download is named - unknown - which is not the desired result. it doesn't have a pdf extension even so a rename is needed before i can view it offline.
any thoughts?
thanks,
Liad