I'm building a web app using ruby on rails and i want the user to click on button that opens the camera and scans a QR code then send the content of the code automatically to the server.
is there a Gem to help me with this or a block of JS code ?
Thanks.