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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -