David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said almost 3 years ago on Docker on Rails 7 :
Are you able to run bundle install from within the running container?


David Kimura PRO said almost 3 years ago on Payment Gateway Basics with Stripe :
They may have changed the api again. I stopped using their Stripe Payments solution and prefer the Stripe Checkout. But, if this is the route you want to go. see this resource of their latest API docs. https://stripe.com/docs/api/subscriptions/create

Stripe::Subscription.create({
  customer: 'CUSTOMER_NUMBER',
  items: [
    {price: 'price_1aUj7wdGdu1FeVHa2AEY0Rph'},
  ],
})

David Kimura PRO said almost 3 years ago on Tips and Tricks :
Ah, the image isn't clickable, but you can try to click on the title.

I'm working on a beginners course that should be released sometime this year.

David Kimura PRO said almost 3 years ago on Docker on Rails 7 :
  You are correct! Having the bundle volume doesn't map to your development machine's bundle directory. Honestly, I don't think I would want to do this anyways since there are some gems that compile native extensions. Since I develop on a macOS machine, doing this could introduce unexpected errors from the compiled gems. Having the bundle volume is still useful though if you have multiple services that rely on the application code (sidekiq, jsbundling, and cssbundling). So, when you run bundle in the app docker container, the installed gems would be available to the other services.

David Kimura PRO said almost 3 years ago on Shopping Cart with Turbo :
It's just a preference for than anything. I could have a conditional, but this felt cleaner.