Hi, I’m Juraj Kostolanský,
a software engineer from Slovakia.
Latest from my journal
How to wrap Rails mailer previews in a database transaction
Use monkey patching to revert database changes in Rails mailer previews.
How to upgrade PostgreSQL from 11 to 12
Easy step-by-step tutorial on upgrading PostgreSQL using the pg_upgrade tool.
Using PostgreSQL advisory locks to control concurrency
Introduction to thread synchronization using PostgreSQL advisory locks.
How to migrate primary keys from bigint to UUID
Simple way to change your PostgreSQL primary key type in a Rails migration.
How to expose your local development server
Simple nginx setup for a public access to your local web server. It supports SSL and works behind a NAT.
The unexpected after_commit behaviour
The Rails callbacks after_create_commit, after_update_commit and after_destroy_commit behave in a way you may not expect.
Natural person registered in the Trade Register of the District Office Trnava
Company registration number: 52628183, Trade Register number: 250-43655