Taking a deferred payment with Rails and Stripe

Posted on Sep 18, 2018 [ 5 min read ]
It is likely to happen that there will be times when you will need to be able to take payment from your customer at a later time. Maybe you have a thing on back order, maybe you only charge when an item is shipped to your customer.

Module#prepend vs alias_method_chain

Posted on Aug 29, 2018 [ 10 min read ]
Ruby 2.0 introduced Module#prepend which allows us to insert a module before the class in the class ancestor hierarchy. Rails 5 deprecates alias_method_chain in favor of module prepend.

Ruby Mixin

Posted on Aug 24, 2018 [ 4 min read ]
The Ruby language provides classes, modules, and a mix of both. In this post I want to dive into mixins in Ruby.
Tags: ruby

How to take a payment with Rails and Stripe

Posted on Aug 23, 2018 [ 5 min read ]
Taking payments with your web application used to be a difficult if not downright daunting process. With the integration with Stripe, taking payments from your Rails app has gotten a whole lot easier

Faster Rails: Eliminating N+1 queries

Posted on Apr 01, 2018 [ 3 min read ]
N+1 is a common DB queries issue that slows down overall page load. This article demonstrates how to discover and fix it with more efficient DB query.
Copyleft 2024 Gritwerkz.

Twitter Email

Back to Top