David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
David Kimura PRO said about 9 years ago on Decoding and Interacting with Barcodes :

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


David Kimura PRO said about 9 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 about 9 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.


David Kimura PRO said about 9 years ago on Capturing Signatures with Signature Pad :

It really depends on the situation. I wouldn't necessarily jump to converting the signature over to an image and store it separately (more so than it already is). If you will be displaying the signature often, you could look into Fragment Caching as a possible solution for the areas where you're displaying the image. Converting and storing the signature as an image seems like unnecessary overhead as well as an added complication.

However, if this is the route you need, you could create an attr_accessor for the signature and convert it to an image and upload it like you're describing.


David Kimura PRO said about 9 years ago on FullCalendar Events and Scheduling :

You should be able to initialize the calendar with these kind of options to do this. In the header, you would only pass agendaDay and then set the default view to basicDay.


   header: {
    left: 'prev,next today',
    center: 'title',
    right: 'agendaDay'
   },
  defaultView: 'basicDay',