Thoughts on development, technology trends, best practices, and lessons learned from building modern web applications.
In web applications, efficiently managing database queries is crucial for maintaining fast response times and a smooth user experience. With its robust conventions and built-in tools, Rails offers a p...
In the Rails ecosystem, view resolution plays a significant role in how the framework identifies and renders templates. In larger applications, especially those involving plugins or engines, managing ...
Capybara is a popular testing tool for writing and executing acceptance tests for web applications. It's often used in conjunction with RSpec, a testing framework for Ruby, to write integration tests ...
Git is a powerful tool for managing code projects. It allows developers to collaborate on code changes, revert changes, and track progress over time. However, for beginners, Git can be overwhelming. H...
Routes in Rails determine how URLs are mapped to specific controller actions. When a user sends a request to your application, the routing system will parse the URL and match it to a controller action...
The `skip_before` method in RSpec is a useful tool for selectively skipping certain before blocks in your test suite. These before blocks are run before each example in a test suite, and they can be u...
In the Ruby testing framework RSpec, the `let` and `let!` methods are used to define a variable or method that can be used within an example or group of examples. Both let and `let!` are memoized, mea...
There are plenty of options now to create your personal development environment, this is the one that works for me. I've been using it for a couple of years now and I'm really happy with it so, I thou...
When working on a rails application (or specially on an api) it's not uncommon to have to handle different http status codes.
For a long time, I used to have my website running Github pages, being created by jekyll. And it was working fine. The only drawback was that I wanted to start a blog and in order to write a new post,...