News

Rails 6.1 allows per environment configuration support for Active Storage
Rails 6.1 allows environment-specific configuration files to set up Active Storage.In development, the config/storage/development.yml file will take precedence over the config/storage.yml file. Similarly, in production, the config/storage/producti...





Nested factories in Factory Bot: what they are and how to use them - Code with Jason
Let’s use the following as an example. Let’s say that in the majority of your application’s tests that involve a User, you want just a regular old user. Maybe you have 30 such tests.But for a handful of tests you want to use a special kind of user...


How well Rails developers actually test their apps | Arkency Blog
Here are the results of our State of Testing in Rails apps survey results. I have distilled the most interesting numbers for your reading pleasure and efficiency. Detailed charts here. I have highlighted what stands out as interesting for me. Numb...

When used intelligently, Rails concerns are great - Code with Jason
There seem to be two main camps regarding Rails concerns. One camp says concerns are good. The other camp says concerns are bad.I don’t buy this dichotomy. To state what ought to be obvious, not everything is either good or bad.I’ll make a small d...