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

  • 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

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.

Security in Rails

Paweł Dąbrowski

Description of good Security practice during Rails app development