Perfect !!! I tried something like this but I had subscription.delete instead subscription.save.
Thank you man I was working to find the solution in the last 3 days.
If anybody in the future is going to have the same problem.
Double entry for the same customer I fixed with local: true in new subscription form:
```
```
Hi Dave, I did everything like you did (I believe :)) ) but my camera doesn't start. I don't see any errors in my console and my canvas is displayed. What I have different is the ruby '2.4.1' and 'rails', '~> 5.2.4', '>= 5.2.4.4'. Do you think those can block my camera? Thanks
I rebuild everything in rails 6 like you have and it's working. Please help me with searching. I want something like when you scan a QRcode what exist in a product send to show page and if is not saved send to new product page. After scanning the code it give me the path of the product not the name like in your case