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.Oct 29, 2020Oct 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).Feb 27, 20191Feb 27, 20191
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…Oct 30, 2017Oct 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.Oct 25, 2017Oct 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.Oct 21, 2017Oct 21, 2017