Lucas MendelowskiMy name is Lucas Mendelowski and I’m software engineer focused on building web applications from Krakow, Poland. I mostly work with Ruby (on and off the Rails) and JavaScript (with Ember.js and Vue.js).

This website is my knowledge base of all the things I learned across a variety of languages and technologies.

Latest posts

2020-11-22 - Generic result type in Go2
2020-11-15 - Turning string into predicate in Ruby
2020-11-08 - Locating code changes in git repo
2020-11-01 - Using auto-loaded constants in Rails initializers
2020-10-18 - Current directory of aliased script in bash
2020-10-11 - Override new method for creating subclasses in Ruby
2020-10-04 - Limit with ties in PostgreSQL
2020-09-27 - Sleep screen from terminal on Linux
2020-09-20 - New way for arguments forwarding in Ruby 2.7
2020-09-13 - Deprecating methods with ActiveSupport
2020-09-06 - Natural join in SQL
2020-08-29 - Benchmarking Ruby code
2020-08-23 - Accessing database configuration with Rails
2020-08-16 - New methods introduced in Ruby 2.7
2020-08-09 - Pattern matching with Ruby
2020-08-03 - Rails database migrations cheat-sheet
2020-07-19 - Dynamic layouts in Ember.js
2020-07-12 - Template pattern
2020-07-05 - Adding Bulma to Ember.js application
2020-06-28 - Prettifying Ember.js codebase
2020-06-21 - Create sudo user on Linux
2020-06-08 - Authentication for private Ruby gems
2020-05-31 - Running tests with Minitest
2020-05-24 - Grep files for content
2020-05-17 - Dates overlapping with PostgreSQL
2020-05-10 - Installing mysql2 gem without MySQL on MacOS
2020-05-03 - Super and dynamically created methods in Ruby
2020-04-26 - UFW setup
2020-04-19 - Tig - cheat sheet
2020-04-12 - Running commands concurrently with bash
2020-04-05 - Text search with PostgreSQL
2020-03-22 - Remove merged branches from git remote
2020-03-15 - Nginx - developer cheat sheet
2020-03-08 - Search and navigation cheat sheet for VIM
2020-02-29 - Padding numbers with zeros in Ruby
2020-02-23 - Enumerable#tally in Ruby 2.7
2020-02-16 - Group by JSONB array in PostgreSQL
2020-02-01 - Upsert in PostgreSQL
2020-01-26 - ROLLUP and CUBE with PostgreSQL
2020-01-19 - Aggregate functions over partition in PostgreSQL
2020-01-11 - Pivot functions in PostgreSQL
2019-12-31 - Conditional joins with Hanami
2019-12-26 - :wq vs :x in VIM
2019-11-07 - Moving data from database column to jsonb field
2019-08-26 - HSTS with Rails
2019-08-25 - Handling DOM events with Ember
2019-08-10 - Order of model associations in Rails
2019-08-03 - Array.wrap vs Kernel#array
2019-08-02 - Redirect back with Rails
2019-04-30 - Overriding model name in Rails
2019-04-07 - Method aliasing with Ruby
2019-03-23 - Using OR operator with Hanami repositories
2019-03-12 - Preloading subset of association with Hanami
2019-02-22 - Attaching custom behavior to Ember changesets
2019-02-15 - Undoing a Git rebase
2019-01-07 - Run gofmt on all project files
2018-12-24 - Using PostgreSQL enums with Ruby on Rails
2018-12-20 - Using PostgreSQL hstore with Ruby on Rails
2018-12-04 - Running multiple PostgreSQL versions on MacOS
2018-07-30 - self vs extend self vs module_function
2018-02-17 - Refs in React
2017-12-10 - Using libraries from NPM Ember