Dmytro VasinYet another reason to stop using attr_reader in the codeRecently, walking through my project’s code, I found a line that I want to refactor.5 min read·Oct 29, 2020----
Dmytro VasinHow to add a custom cop to RubocopЗадача: In the project, as part of refactoring, we need to change and reduce values to one type in attributes (in tests).2 min read·Feb 27, 2019--1--1
Dmytro VasinSpeed up your tests via :build_stubbedRspec is very awesome thing that was created for ruby community. Most of us writing tests. But some times in large project our test become…2 min read·Oct 30, 2017----
Dmytro VasinDecrease complexity of routes in RailsSometimes, when you working with large codebase your `routes.rb` files grows really fast and become very dirty.1 min read·Oct 25, 2017----
Dmytro VasinVersion inheritance in CarrierwaveСarrierwave is a popular image upload gem used by the Rails community to upload files to the server.2 min read·Oct 21, 2017----