Rootstrap Blog

Category: Rails

Total 9 Posts

Feature Updates in Rails 6: Multiple Databases & State Management

Rails 6.0 recently shared its amazing enhancements, though most would consider these feature upgrades. In my opinion, both are correct, because the actual state of multiple databases before rails 6.0 was not even useful to consider it a completed feature. Let’s dive into Rails < 6 state! Rails 6 introduced

Continue Reading

Link Tracking with StimulusReflex

This article is about StimulusReflex, a new tool to help you bring Rails to the era of the backend-side-managed frontends. I was surprised to see that Phoenix LiveView and following with things like Motion and Sockpuppet use WebSockets to push updates from the server to the client and update the DOM accordingly. Luckily the team at StimulusReflex’s

Continue Reading

How to Improve Ruby on Rails Apps Searches with Elasticsearch

Introduction When it comes to apps with a lot of data, some SQL queries take more time than expected, especially when we want to search text through several model attributes. This most commonly happens with e-commerce stores, but these kinds of complex queries can happen in social media apps or

Continue Reading

How to customize the display name of dynamic ActiveAdmin search filters

Working with ActiveAdmin At Rootstrap, my first assignment was to develop a Ruby on Rails application which uses ActiveAdmin (with ActiveAdmin Addons) as a framework to implement the user interface. I had never used ActiveAdmin before and I found myself reading a lot of documentation of the gem, in some

Continue Reading