Coding insights, software tutorials, and brainwaves from a curious mind.

A collection of good practices, tutorials, lessons learned and more.

  • Integrating Stripe customer portal with Ruby on Rails

    Integrating payments into your app can be a long task. Thankfully Stripe makes this easier by creating the customer portal which you can integrate into your app much more easily. It even allows the interface to be branded with your company colors.

  • Use of shared examples with RSpec

    Sometimes we find that the code we're writing is starting to get repetitive. In times like these, we should be thinking if there are any opportunities to refactor. I used RSpec's shared examples to refactor my tests to make my code modular and save time.