RSSAmplifier

Blog

Jan Matuszewski

Business-oriented engineer

jmatuszewski.comRSS feed ↗8 posts

Latest posts

Master Git tools - Effective Programmer pt. 2

Learn about the importance of writing a good commit messages. How to use message templates, hooks, aliases and how to navigate Git history like a pro.

Taking notes for productivity - Effective Programmer pt. 1

Organizing knowledge is a key factor of effective programming work. Is taking notes the perfect way to do it? I think yes answering all of the why and how questions.

How to deploy multiple Rails apps on a single server with Capistrano

Almost everyone uses cloud hosting solutions like Heroku or AWS nowadays(and I don’t expect it to change even after this DHH post). But if you still self-host your apps then Capistrano would be well known to you.

Optimize your Ruby on Rails CI pipeline

Continous integration pipelines are usually slow. What we could do to change this state? I've found dozens of different strategies how to do it and want to share them with you.

Automatically Run Rails tests in VS Code and highlight test coverage

Empower your IDE to automatically run RSpec/Minitest tests. Get code coverage highlights with VS Code extension and a few lines of code changed.

How we built user queueing system for platform issuing COVID-19 passports - Rails, Sidekiq, Redis

Building a platform issuing COVID-19 passports is a very diffcult task especially in terms of security and performance. I am describing the problems we faced working on the application and the solutions we found to successfully release the application in 3 weeks of development time.

Debug Rails UJS - Invalid authenticity token error

Some of legacy project I’ve worked on few years ago received new requirement. We should be able to Destroy some of the entities from the index page. It sounds like a no-brainer CRUD requirements. But after adding the one liner well known for all Rails devs: = link_to 'Destroy', account, method: :delete, data: { confirm: 'Are you sure?' }

Refactor Rails models using Concerns

Rails developers like to repeat some phrase like “Convetion Over Configuration”, “Fat Model, Skinny Controller” or “Don’t Repeat Yourself”. Today I am going to focus on the last one: how we can minimze the repeated code in your models using Concerns.