InProductboard engineeringbyJan Bajena·Nov 25, 2021Setting 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.A response icon1A response icon1
Jan Bajena·Nov 8, 2020Hanami: 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…
InThe StartupbyJan Bajena·Oct 28, 2020Hanami: 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…
Jan Bajena·Apr 24, 2020Ruby 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.
InThe StartupbyJan Bajena·Mar 24, 2020Solving “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.
Jan Bajena·Jan 29, 2020Using 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.A response icon1A response icon1
Jan Bajena·Oct 27, 20195 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!A response icon1A response icon1
Jan Bajena·Oct 11, 2019Decrease 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…
Jan Bajena·Aug 25, 2019Google Apps Scripts — parallel HTTP requests with retriesLearn how write a retriable UrlFetchApp requests batch in Google Apps ScriptsA response icon4A response icon4
Jan Bajena·Jan 9, 2019Use 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.