Published inProductboard engineeringSetting up RSpec and DatabaseCleaner to support multiple databasesIn this post I explain how we introduced a new database to our Rails app and set up RSpec without annoying the whole engineering team.Nov 25, 20211Nov 25, 20211
Hanami: Unobtrusive JavaScriptIn one of my previous posts I wrote down the impressions about Hanami I’ve had while working on my side project, Flashcard Genius. One of…Nov 8, 2020Nov 8, 2020
Published inThe StartupHanami: Thoughts of a Rails developerI remember hearing about Hanami framework for the first time. It was a few years ago, during a talk on Wroclove.rb conference. It didn’t…Oct 28, 2020Oct 28, 2020
Ruby on C(ocaine) 💉 Intro to C extensions for newbies.Building C extensions in Ruby isn’t really that hard. Let me show you how I built my first one.Apr 24, 2020Apr 24, 2020
Published inThe StartupSolving “invalid byte sequence in UTF-8” errors in RubyLearn what “UTF-8 byte sequences” are, why they can be invalid and how to solve this problem in Ruby.Mar 24, 2020Mar 24, 2020
Using Ruby Enumerators for streaming big gzipped CSV files from FTPCheck out how I managed to make use of lazy enumerators to FTP stream, ungzip and process a huge CSV file line by line.Jan 29, 20201Jan 29, 20201
5 reasons why you should start Codewars (now!)Check out how codewars.com can help you improve your programming skills and have lots of fun at the same time!Oct 27, 20191Oct 27, 20191
Decrease load on your JSON APIs by using sparse fieldsetsIn Leadfeeder we develop our frontend app in Ember.js backed by a Ruby on Rails JSON API. Personally I think it’s a great choice of stack…Oct 11, 2019Oct 11, 2019
Google Apps Scripts — parallel HTTP requests with retriesLearn how write a retriable UrlFetchApp requests batch in Google Apps ScriptsAug 25, 20194Aug 25, 20194
Use lazy relationships to eliminate N+1 queries in your Rails appsLearn how I used batch loading technique to solve N+1 queries problem in Rails apps that use ActiveModel::Serializers gem.Jan 9, 2019Jan 9, 2019