Dockerizing a Ruby on Rails Application

Nick Janetakis

Tutorial for using docker to run Rails with Postgres and Redit

Dokku

Karol Bąk

Simple 1 server solution for online hosting service (exp. Digital ocean) that allows simple heroku like deployment

Domain vs Application services

Vladimir Khorikov

DDD article about differences between domain and application service objects

  • Domain services carry domain knowledge; application services don’t (ideally).
  • Domain services hold domain logic that doesn’t naturally fit entities and value objects.
  • Introduce domain services when you see that some logic cannot be attributed to an entity/value object because that would break their isolation.

Lambdas are better then procs

Keith Bennett

Prefer lambdas over procs

  • a Proc instance can be either lambda or a proc
  • all lambdas are Procs
  • all procs are Procs
  • code blocks behave like procs
  • you can determine the kind of Proc by calling lambda? on it lambda -> strict argument count lambada -> do not return from method when return is called in it
My post

Memoization in Modern Ruby: How a Shape-Based Approach to Instance Variables Lookup Impacts Performance.

Dominik Alberski

Memoization is a classic technique in Ruby programming, greatly assisting in boosting performance....

Public, Private and Protected in Ruby

Paweł Dąbrowski

Summarize the use of access modifiers in the Ruby language.

Shows less used syntax and declaration. 

Simple show of defference and use case for each one.

My post

Rails Integration Testing with Fixtures: A Practical Approach for Complex Data Sets

Dominik Alberski

Load about 10,000 related records from 13 models into Rails integration tests fast. Use fixtures from production data, not factory_bot.

My post

Reading The Pragmatic Programmer in the age of AI

Dominik Alberski

I bought The Pragmatic Programmer a few years ago but never finished it. As part of my current effort...

Security in Rails

Paweł Dąbrowski

Description of good Security practice during Rails app development