---
title: "Piotr Jurewicz (@pjurewicz) | Hashnode"
description: "ruby on rails developer. Read the latest articles by Piotr Jurewicz on Hashnode."
url: "https://hashnode.com/@pjurewicz"
---

@pjurewicz

# Piotr Jurewicz

@pjurewicz · Łódź, Poland · Joined October 2020

ruby on rails developer

### [Overgrown Tenant class decomposition](https://rubywizards.com/overgrown-tenant-class-decomposition?utm_source=hashnode&utm_medium=feed)

If you have been working on a multi-tenant application for a long time, there is a high chance that your Tenant model has grown to an enormous size. You probably started with id, name, and subdomain columns. Later there were things that had to be con...

2 min read · [rubywizards.com](https://rubywizards.com/overgrown-tenant-class-decomposition?utm_source=hashnode&utm_medium=feed)

[Jan 11, 2022](https://hashnode.com/posts/overgrown-tenant-class-decomposition/61dd6bed18ce964d90d0cc19)

### [3 ways to make big numbers readable in Ruby](https://rubywizards.com/3-ways-to-make-big-numbers-readable-in-ruby?utm_source=hashnode&utm_medium=feed)

Today, I came across the following method in my old code. (This comes from an application supporting calculations in the construction of concrete floors). def l\_factor ((bending\_stiffness \* 10000000000) / k) \*\* 0.25 end This big number looks ...

1 min read · [rubywizards.com](https://rubywizards.com/3-ways-to-make-big-numbers-readable-in-ruby?utm_source=hashnode&utm_medium=feed)

[Nov 10, 2021](https://hashnode.com/posts/3-ways-to-make-big-numbers-readable-in-ruby/618b99fff991b025366e0e24)

### [As simple as... the Inventory bounded context](https://rubywizards.com/as-simple-as-the-inventory-bounded-context?utm_source=hashnode&utm_medium=feed)

Last weekend I went to the dynamIT conference that took place in Kraków. In his presentation, Andrzej Krzywda was speaking about DDD as Low-Code. He distilled 11 bounded contexts that are common in the different business applications. One of them is ...

2 min read · [rubywizards.com](https://rubywizards.com/as-simple-as-the-inventory-bounded-context?utm_source=hashnode&utm_medium=feed)

[Aug 31, 2021](https://hashnode.com/posts/as-simple-as-the-inventory-bounded-context/612e86164e9d8114f8adfd01)

### [Accessing Cloudfront stream with VideoJS and server-side signed cookies](https://rubywizards.com/accessing-cloudfront-stream-with-videojs-and-server-side-signed-cookies?utm_source=hashnode&utm_medium=feed)

Today's post is a continuation of what I wrote yesterday about securing Cloudfront stream with signed cookie. I encourage you to open this post especially to look at the UML diagram. There are some things you need to keep in mind to access a stream ...

2 min read · [rubywizards.com](https://rubywizards.com/accessing-cloudfront-stream-with-videojs-and-server-side-signed-cookies?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/accessing-cloudfront-stream-with-videojs-and-server-side-signed-cookies/6082fe62ff5fc65284a7886a) [Apr 23, 2021](https://hashnode.com/posts/accessing-cloudfront-stream-with-videojs-and-server-side-signed-cookies/6082fe62ff5fc65284a7886a)

### [Securing Amazon Cloudfront stream with signed cookies](https://rubywizards.com/securing-amazon-cloudfront-stream-with-signed-cookie?utm_source=hashnode&utm_medium=feed)

In the context of audiobook streaming platform

2 min read · [rubywizards.com](https://rubywizards.com/securing-amazon-cloudfront-stream-with-signed-cookie?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/securing-amazon-cloudfront-stream-with-signed-cookie/60816ec1ff5fc65284a7604d) [Apr 22, 2021](https://hashnode.com/posts/securing-amazon-cloudfront-stream-with-signed-cookie/60816ec1ff5fc65284a7604d)
