David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said over 7 years ago on Pagination with Kaminari :

Have a look at https://www.driftingruby.com/episodes/infinite-scrolling

It uses `will_paginate` but `kaminari` should be a fairly simple drop in with some minor changes.


David Kimura PRO said over 7 years ago on Decoding and Interacting with Barcodes :

I must have been exhausted when I was writing up the Resources section. Check it now, the source code link is posted.


David Kimura PRO said over 7 years ago on Decoding and Interacting with Barcodes :

It should be in the `vendor/assets/javascripts` folder.


David Kimura PRO said over 7 years ago on Decoding and Interacting with Barcodes :

Are you serving the site over SSL? Check the browser's developer tools to see if there are any warnings or errors.


David Kimura PRO said over 7 years ago on Decoding and Interacting with Barcodes :

Hello Dede,

I've pulled down the code from github and ran it in production mode.

The only difference that I made in the source app was add a secrets key in the secrets.yml file and run the app with RAILS_ENV=production passenger start as this will mount the rails app under nginx (similar to how it would be on a production environment).

I was able to get the camera showing without any issues.

You may want to check your browser to ensure that the camera was shared.