Jan BajenainProductboard 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.4 min read·Nov 25, 2021--1--1
Jan BajenaHanami: 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…4 min read·Nov 8, 2020----
Jan BajenainThe 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…5 min read·Oct 28, 2020----
Jan BajenaRuby 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.7 min read·Apr 24, 2020----
Jan BajenainThe 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.3 min read·Mar 24, 2020----
Jan BajenaUsing 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.2 min read·Jan 29, 2020--1--1
Jan Bajena5 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!4 min read·Oct 27, 2019--1--1
Jan BajenaDecrease 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…3 min read·Oct 11, 2019----
Jan BajenaGoogle Apps Scripts — parallel HTTP requests with retriesLearn how write a retriable UrlFetchApp requests batch in Google Apps Scripts2 min read·Aug 25, 2019--4--4
Jan BajenaUse 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.4 min read·Jan 9, 2019----