Back to rankings

activerecord-hackery/ransack

Rubyactiverecord-hackery.github.io/ransack/

Object-based searching.

searchsearch-interfacerubyruby-gemruby-libraryruby-on-railsactiverecordsqlrails
Star Growth
Stars
5.9k
Forks
823
Weekly Growth
Issues
99
2k4k
Mar 2011Apr 2016Jun 2021Jul 2026
ArtifactsRubyGemsgem install ransack
README

Ransack

Build Status Gem Version Code Climate Backers on Open Collective Sponsors on Open Collective

Introduction

Ransack will help you easily add searching to your Rails application, without any additional dependencies.

There are advanced searching solutions around, like ElasticSearch or Algolia. Ransack will do the job for many Rails websites, without the need to run additional infrastructure or work in a different language. With Ransack you do it all with standard Ruby and ERB.

Ready to move beyond the basics? Use advanced features like i18n and extensive configuration options.

Ransack is supported for Rails 8.1, 8.0, 7.2 on Ruby 3.1 and later.

Installation

To install ransack and add it to your Gemfile, run

gem 'ransack'

Bleeding edge

If you would like to use the latest updates not yet published to RubyGems, use the main branch:

gem 'ransack', :github => 'activerecord-hackery/ransack', :branch => 'main'

Documentation

There is extensive documentation on Ransack, which is a Docusaurus project and run as a GitHub Pages site. Alternatively there is AI Generated documentation produced by devin.ai.

This gist has a quick-start cheatsheet, created by @raghubetina

Issue tracker

  • Before filing an issue, please read the Contributing Guide.
  • File an issue if a bug is caused by Ransack, is new (has not already been reported), and can be reproduced from the information you provide.
  • Please consider creating a pull request with a failing test that demonstrates the problem.
  • Contributions are welcome. :smiley:
  • Please do not use the issue tracker for personal support requests. Stack Overflow or GitHub Discussions is a better place for that where a wider community can help you!

Contributions

To support the project:

  • Consider supporting us via Open Collective
  • Use Ransack in your apps, and let us know if you encounter anything that's broken or missing. A failing spec to demonstrate the issue is awesome. A pull request with passing tests is even better!
  • Before filing an issue or pull request, be sure to read and follow the Contributing Guide.
  • Please use Stack Overflow or GitHub Discussions for questions or discussion not directly related to bug reports, pull requests, or documentation improvements.
  • Spread the word on social media if Ransack's been useful to you. The more people who are using the project, the quicker we can find and fix bugs!

Contributors

Ransack was created by Ernie Miller and is developed and maintained by:

Alumni Maintainers

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Related repositories
BurntSushi/ripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore

Rustcrates.ioThe Unlicenseripgreprecursively-search
66.4k2.7k
TheAlgorithms/Java

All Algorithms implemented in Java

JavaMavenMIT Licensejavaalgorithms
66k21.2k
meilisearch/meilisearch

A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.

Rustcrates.ioOthersearch-enginetypo-tolerance
meilisearch.com
58.7k2.6k
sharkdp/fd

A simple, fast and user-friendly alternative to 'find'

Rustcrates.ioApache License 2.0command-linetool
43.8k1.1k
jaywcjlove/linux-command

Linux命令大全搜索工具,内容包含Linux命令手册、详解、学习、搜集。https://git.io/linux

MarkdownMIT Licenselinuxlinux-command
jaywcjlove.github.io/linux-command
36.5k6.6k
TheAlgorithms/C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

C++MIT Licensecppalgorithm
thealgorithms.github.io/C-Plus-Plus
34.5k7.8k
searxng/searxng

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

PythonPyPIGNU Affero General Public License v3.0metasearchsearch
docs.searxng.org
34.2k3.2k
TheAlgorithms/JavaScript

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.

JavaScriptnpmGNU General Public License v3.0algorithmalgorithm-challenges
the-algorithms.com/language/javascript
34.2k5.9k
qdrant/qdrant

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

Rustcrates.ioApache License 2.0neural-networksearch-engine
qdrant.tech
33.5k2.5k
eugeneyan/applied-ml

📚 Papers & tech blogs by companies sharing their work on data science & machine learning in production.

MIT Licenseapplied-machine-learningproduction
29.9k4k
assafelovic/gpt-researcher

An autonomous agent that conducts deep research on any data using any LLM providers

PythonPyPIApache License 2.0aipython
gptr.dev
28.5k3.9k
typesense/typesense

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

C++GNU General Public License v3.0search-enginesearch
typesense.org
26.3k955