News

Social Login in Rails with Rodauth | Janko's Blog
OmniAuth provides a standardized interface for authenticating with various external providers. Once the user authenticates with the provider, it’s up to us developers to handle the callback and implement actual login and registration into the app....

Easy to Miss Way to Optimize ActiveRecord SQL Memory Usage in Rails
Active Record empowers developers to write fairly complex database queries without understanding the underlying SQL. Unfortunately, the same ActiveRecord is a reason for the majority of the issues that I encounter while conducting my Rails perform...

8 Design Principles that every Ruby Developer should know
In this article we'll discuss 8 design principles that every Ruby developer should know. We'll go through each principle, giving a definition, a simple example, and the benefits they give us.So, what are they?DRYKISSYAGNISOLIDSingle-responsibility...




Ruby adds a new core class called Data to represent simple immutable value objects | Saeloun Blog
Ruby 3.1 adds a new core class called Data to represent simple immutable value objects. The Data class helps define simple classes for value-alike objects that can be extended with custom methods.While the Data class is not meant to be used direct...

Your Rails and Ruby Versioning and Gemfile Policy
One of the lowest-effort, highest-value practices you can adopt for sustainable development is to keep your dependencies updates frequently. The foundation for doing so is to have a clear and reasonable versioning policy. This post includes one fo...


Ruby on Rails Docker for local development environment | Snyk
Hi there Ruby developers! If you’ve been looking for an effective way to establish a Ruby on Rails Docker setup for your local development environment, then this post is for you. It’s a continuation of our previous article on how to install Ruby i...