turbo-search
all_futures
turbo-search | all_futures | |
---|---|---|
1 | 2 | |
0 | 95 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | almost 2 years ago | |
Ruby | Ruby | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
turbo-search
-
A powerful search feature with what Rails provides out of the box
First, I created a minimal rails app using the following command line:
all_futures
-
A powerful search feature with what Rails provides out of the box
The model used for the filtering concept is using the all_futures gem that I never heard about it. I read the code making use of it and I couldn't find why this library was used: It seemed that everything done with it could be achieved using only ActiveModel.
-
The Ultimate Search for Rails - Episode 1
On the backend, we'll need a few tools. Apart from the classics (ActiveRecord scopes and the pg_search gem), you’ll see how the (yet officially unreleased but production-tested) all_futures gem, built by SR authors, will act as an ideal ephemeral object to temporarily store our filter params and host our search logic. Finally, we’ll use pagy for pagination duties.
What are some alternatives?
solder - Simplistic UI State Management for Rails Apps using Hotwire and Caching
morphdom - Fast and lightweight DOM diffing/patching (no virtual DOM needed)
importmap-rails - Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.
beast_mode - 100% server-side rendered faceted search UI demo. Featuring StimulusReflex and All Futures.
pg_search - pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
stimulus-use - A collection of composable behaviors for your Stimulus Controllers
Pagy - 🏆 The Best Pagination Ruby Gem 🥇
ultimate_search - A demo app to illustrate the first post of an ongoing series to build the ultimate Search feature for Rails apps
stimulus_reflex - Build reactive applications with the Rails tooling you already know and love.