ruby on rails - QR code gone empty while printing -


i generated qr code using command in ruby on rails.

<%= raw qr_code.as_html %> 

my controller

qr_code = rqrcode::qrcode.new(device_id) 

it renders qr code successfully. but, while printing page, qr code disappear. there other way display it?


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

c# - ASP.NET MVC Enumerable to delimited HTML in Razor -