Skip to content
项目

activerecord-hackery/ransack has 5,858 GitHub stars and 822 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-14 02:14 UTC. Last push 2026-11-13.

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

Search everywhere and in a hurry!

数据

README.md

原文

Ransack

Search everywhere and in a hurry!

Build Status Gem Version

Ransack adds searching and sorting to your Rails application with plain Ruby and ERB, without a search server or any other infrastructure.

Ransack is supported for Rails 8.1 on Ruby 3.4 and later, on Postgres, MySQL, Trilogy and SQLite.

gem 'ransack'
@q = Post.ransack(params[:q])
@posts = @q.result
<%= search_form_for @q do |f| %>
  <%= f.search_field :title_cont %>
<% end %>
<%= sort_link(@q, :published_at) %>

Documentation

activerecord-hackery.github.io/ransack: getting started, authorization, predicates, upgrading and more. The site is built from the Markdown under docs/.

Getting help and contributing

Ransack is maintained by volunteers. If it is useful to you, please consider supporting us via Open Collective, or through the Tidelift Subscription for commercial support.

Contributors

Ransack is maintained by Sean Carroll, Deivid Rodriguez, Greg Molnar and a great group of contributors. It was created by Ernie Miller. See Community and support for the full list.

探索相关项目