activerecord-hackery/ransack

Object-based searching.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 44 minutes ago
Added to GitGenius on September 11th, 2026
Created on March 31st, 2011
Open Issues & Pull Requests: 156 (+0)
GitHub issues: Enabled
Number of forks: 819
Total Stargazers: 5,861 (+0)
Total Subscribers: 79 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 103.4 days
Mean response time: 373.6 days
90th percentile: 1251.0 days
Tracked items: 140

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 92% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 1% of issues opened in the past year have been closed. Three people close 85% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 97
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,681 days
Stale 30+ days: 97
Stale 90+ days: 97

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Documentation (6)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Ransack is a Ruby gem that adds object-based searching to Rails applications without requiring external infrastructure or dependencies.

Ransack solves the problem of implementing search functionality in Rails by providing a query builder that translates user input into ActiveRecord queries. It works by allowing developers to define searchable attributes and filter logic using standard Ruby and ERB templates, eliminating the need to write raw SQL or deploy separate search services like Elasticsearch or Algolia. The tool handles complex queries including multiple conditions, sorting, and pagination through a simple, declarative interface.

Ransack suits Rails applications of any size that need search capabilities but lack the operational overhead or complexity requirements that would justify dedicated search infrastructure. It works well for websites where database-backed search is sufficient and where keeping the entire application stack in Ruby is preferable. The README positions it as an alternative to advanced solutions like Elasticsearch or Algolia, noting that for many Rails websites Ransack accomplishes the job without additional infrastructure or language switching. The tool supports recent versions of Rails and Ruby, and offers advanced features including internationalization and extensive configuration options.

The project maintains a substantial base of real-world adopters, as evidenced by most open issues being raised by outside users rather than the core team. However, issues and pull requests often wait weeks or longer for an initial response. Documentation improvements dominate the work tracked in the issue system.