Extending build-in ruby classes in Rails 01 Feb 2023 Ruby Ruby on Rails Extending build-in ruby classes in Rails It's a useful skill to extend build-in ruby classes in Rails. And it turns out to be fairly straightforward. We're going
Sidekiq Server Side Middleware 30 Oct 2022 Ruby Ruby on Rails Sidekiq Sidekiq Server Side Middleware Our team recently has converted all our background jobs from delayed job to Sidekiq. There are many things that we have learned along the way.
Use block for loop in Ruby 11 Jun 2017 Ruby Use block for loop in Ruby When we have a block of code that we'd like to loop through given numbers of times, we typically do (1..10).each
Closure in Javascript, Ruby and Python 01 Oct 2014 Javascript Ruby Python functional programming Closure in Javascript, Ruby and Python Closure is after an outer function returns, when inner function is called, it still has access to the outer function's defined variables. In