How can I embeded pdf viewer in ruby on rail?
Now I tried
<embed src="MyPdfDocument.pdf" width="500" height="375">
but it doesn't work. I used firebug and see the error like this
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStreamListener.onStopRequest]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///home/bengasi/.mozilla/firefox/cmb1mbzu.default/extensions/[email protected]/components/firebug-channel-listener.js :: anonymous :: line 167" data: no] [Break on this error] this.listener.onStopRequest(request, requestContext, statusCode);\n
firebug-...stener.js (line 167)