Cable Ready – use websockets in Rails app without custom JavaScript
Demo At the end of the article, we will have fully working simple chat. Creating example application Our application will […]
Demo At the end of the article, we will have fully working simple chat. Creating example application Our application will […]
Gemfile is a well-known file even for not experienced Ruby developers. While for most people, it’s evident that the purpose […]
The way the includes method work in Active Record is one of the most common questions during interviews, yet many […]
Enum is a shortcut for the enumerated type, a data type consisting of a set of values. Rails provides enums […]
Especially in larger legacy Rails applications, it’s harder to make a meaningful refactoring without changing a lot of code. If […]
Transactions are an essential part of the Rails framework. Even if you are not using them directly, Rails is doing […]
Use Rails magic to speed up developmentEnum is a shortcut for the enumerated term, which means a set of named […]
Bootstrapping a Rails application can be a tedious task. It requires several steps, such as generating a Rails skeleton, creating […]
Simplified when we talk about the request that is coming to the Rails application, we usually consider two elements of […]
You can easily take down your database with not properly designed transaction When you wrap the code inside the transaction […]