|about 2 years ago||6 months ago|
|MIT License||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.
We haven't tracked posts mentioning Mongoid Search yet.
Tracking mentions began in Dec 2020.
For GET requests - When do you create a new endpoint and when would you use a query param for the backend to decide what data to give back?
1 project | reddit.com/r/rails | 10 Jun 2022
I use has_scope and it's typically handled in the index with querystring filters e.g. ?user=1 (or ?users=1 if multiple users). I do also add convenience routes for common filters, though, e.g. /users/1/likes.
Best way to filter an index page.
2 projects | reddit.com/r/rails | 17 Mar 2022
The has_scope gem (https://github.com/heartcombo/has_scope) is a nice middleground between ransack and multiple if-statements.
Dealing with basic requests / params
1 project | reddit.com/r/rails | 6 Feb 2022
I recommend the `has_scope` gem approach https://github.com/heartcombo/has_scope
What are some alternatives?
ransack - Object-based searching.
pg_search - pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
Sunspot - Solr-powered search for Ruby objects
chewy - High-level Elasticsearch Ruby framework based on the official elasticsearch-ruby client
scoped_search - Easily search you ActiveRecord models with a simple query language that converts to SQL.
Searchkick - Intelligent search made easy
Rroonga - The Ruby bindings of Groonga.
Searchlogic - Searchlogic provides object based searching, common named scopes, and other useful tools.
Elasticsearch Rails - Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
elasticsearch-ruby - Ruby integrations for Elasticsearch