Blogs

When I Use Controller/Request Specs in Rails and When I Don't
Every so often I come across a question of controller or request specs and when to use them.Before I can address this I need to get some terminology out of the way. In RSpec there are controller tests and request specs which are similar but subtly...


How To Get Clean and Maintainable Code in Rails with Service Objects?
Service objects in rails always help you to design and clean and maintainable code. Here is a comprehensive guideline to design clean and organized code in. In a separate object, the services enjoys the benefit of concentrating the core logic of t...






Bringing the power of Webpacker to any web framework.
Bringing the impressive work of the Rails' Webpacker project to be available for frameworks other than Rails. This is done by mocking the minimal amount of Rails for the Webpacker's Rake commands to be able to run.Webpacker itself takes Webpack, w...