News
Simple View Presenter Pattern in Rails without using Gems
What’s the size of user.rb file in your current project? The default Rails way model-view-controller architecture often leads to a bloated model layer. Presenter pattern is one of the more straightforward ways to slim down your Rails models. It al...
WebSocket Director: scenario-based integration tests for realtime apps
Black-box testing, end-to-end testing, or system testing, according to Ruby on Rails, is just the tip of the testing iceberg (or diamond, as you wish). Still, it plays a significant role achieving software stability. However, writing and maintaini...
Rails now uses error_highlight to locate the columns where an error is present | Saeloun Blog
Ruby 3.1 introduced a new feature called error_highlight which allows you to pinpoint the exact column where an error is present.Standard error messages in Rails show the row the error has occurred in. This is useful in most scenarios, however, fo...