Contributions

Article
Routes are the fundamental part of the Rails framework, as, without them, it won’t be possible to navigate through the app. While all Rails developers are familiarized with the routes DSL less or more, some fewer known features make the routing configuration even more flexible.

This article covers non-standard usage examples that you might find useful when building the next web application with Rails.
Article
Using RSpec can be a lot more effective and fun if you know well how many options you have at your disposal. This article will cover more advanced usage of the rspec command and less known options but still useful.
Article
Writing useful tests is as important as writing the right code. The good news is that with Ruby, testing the code is a friendly and grateful task. The bad news is that it might be a little hard for you if you never wrote a single line of code. However, once you understand why tests are needed and how to write efficient tests, it will become a habit to always assure good code coverage for things you create.
Article
It looks like about errors handling in Ruby, everything was already said. Nobody needs another article about the error inheritance structure, yet it is still good to know how it looks. However, errors in Ruby still have its awesomeness that needs to show. Let's put a light on some less known features related to errors.
Tutorial
The goal of this article is to show you how you can create your command line application using the Ruby programming language and make it available via Homebrew, so anyone can install it quickly and use in seconds.

The article consists of two main parts: building the command line application and making it available via Homebrew.
Article
Seemingly it may seem that counting records in the database with ActiveRecord is straightforward. In reality, it looks more complex.
Article
In simple words, Ruby Struct is a built-in class that provides useful functionalities and shortcuts. You can use it for both logic and tests. I will quickly go through its features, compare with other similar stuff, and show some less-known but still useful information about it.
Tutorial
Cable Ready is a great addition for Action Cable, especially if you don't like to write JavaScript code to interact with your website's DOM in a real-time. It helps us to quickly write real-time applications that work out of the box.
Article
Discover value object design pattern that will help you to build Ruby code that is readable, testable, and simple.
Tutorial
The code syntax highlighting feature is a must-have for every developer blog or website where a code snippet can be presented. It’s easy to add it when you are using a blog engine like Jekyll or WordPress but you can also easily add it in your own Rails app.
Tutorial
It is nice to have charts in the Ruby on Rails app but it’s sometimes difficult to prepare proper data and then display it using JavaScript in the view. Let me introduce you the solution: Chartkick and Chartable gems.
Library
Pull the RSS feed for any website you want without worrying about the RSS feed existence or engine
Library
A lightweight and database-level Ruby library to transform any Active Record query into analytics hash ready for use with any chart library.
Library
The Hawker gem is a web scraper which allows you to pull the basic information for given social media profile URL
Library
A simple Ruby interface for pulling a RSS feed of any blog with the wordpress engine
Article
If you receive a user input in your application, you need a validation – no doubt about it. When thinking about the validation in a Ruby on Rails application we used to think about a model validation in the first place. But how about other levels of the validation?
Article
I never read the whole Rails guides and now when I’m translating them to my native language I discovered some cool features that I didn’t know about before. I hope this will be also useful for you!
Tutorial
A gentle introduction to DSL and metaprogramming in Ruby.
Article
Learn how to write good tests and avoid 4 common tests design mistakes that slow down your specs and make them less readable.
Article
Sometimes is hard no to pass many parameters to a single method and this is the moment when parameter object comes in
Tutorial
Watch stubs and mocks in action and learn about the differences between them
Article
Looking for an excellent replacement for if conditions where you check if an object and its attribute are present? Meet null object and give it a try
Tutorial
Usually, you don’t think about tables naming because it’s obvious. However, there is a case when you might stop for a second. I’m talking about a self-join instruction.
Tutorial
Since belongs_to relation is one of the most common association in each Rails application I bet that you deal with it many times in your application. Let’s say that we have two models: Job and Category – one job belongs to one category and category can have many jobs, simple as that.
Tutorial
Learn how to encapsulate your queries in a Rails model to stay DRY