Managing policies on AWS S3

20 Jul 2018

Man typing on a laptop

I recently started working on improving my knowledge of managing various AWS services. I plan to write a series of posts on those as additional exercise to organize thoughts and ideas. First is IAM users and their policies. This post describes my way of managing access to S3 bucket using policies.

Continue Reading →

Visiting Euruko 2017

10 Oct 2017

Photo of chair rows in a conference hall

Euruko that took place on 29th-30th September 2017 was my first Euruko. Well, actually it was my first tech conference since I switched my career to programming. And I loved it. Let me tell you why…

Continue Reading →

Introduction to fragment caching in Rails

02 Nov 2016

Image of puzzle pieces

You’ve probably read or heard a lot that the two most difficult concepts in computer science are naming things and cache invalidation. The quote has appeared numerous times in books, blogs, and other programming sources in one form or another. While the only remedies for coming up with names are practicing a lot, being clear in our intentions or having a sudden epiphany (none of which are quick and simple), Rails tries to help us with the caching part as much as possible. Caching can significantly improve web application performance. This requires little additional code, especially if we have a large number of complex partial rendering.

There is a lot of different things that we can cache in Rails: actions, SQL queries which are taken care of automatically for us, and page fragments. You can find an overview of all of those in the official Rails guides. Here we will focus on the fragment caching in views. We will discuss how it works, when it can be used and what are some gotchas or things we need to be mindful of.

We will also uncover the mystery of the cover for this post (that is unless you are already familiar with this concept).

Continue Reading →


Marcin Drozd

Self-taught Ruby on Rails Developer. Currently working on JavaScript and Elixir skills.

Marcin Drozd