没有合适的资源?快使用搜索试试~ 我知道了~
pretty_search
共47个文件
rb:27个
haml:3个
yml:3个
需积分: 5 0 下载量 37 浏览量
2021-06-25
07:32:06
上传
评论
收藏 40KB ZIP 举报
温馨提示
漂亮搜索 :rocket: 通过任意模型的任意属性实现搜索的部分。 专为在表单中使用而设计。 搜索是通过 arel 完成的。 它实现的所有搜索类型都可用。 返回的结果由 kaminari 分页。 安装 添加到 Gemfile: gem 'pretty_search', :git => '[email protected]:shooma/pretty_search.git' 还要确保您的 Gemfile 中有以下 gem: gem 'kaminari' gem 'haml', '~> 4.0.5' 在 application.js(或您要使用的程序集中)中添加 //= require reference jQuery 之后的某个地方。 在程序集文件中注册样式(例如,我们有这个active_admin.scss.erb ): @import "pretty_search"; 为了使请求开始运行
资源推荐
资源详情
资源评论
收起资源包目录
pretty_search-master.zip (47个子文件)
pretty_search-master
config
locales
ru.yml 862B
routes.rb 135B
Rakefile 28B
init.rb 158B
app
assets
javascripts
reference.js 4KB
stylesheets
pretty_search.scss 336B
controllers
pretty_search
pretty_search_controller.rb 2KB
views
pretty_search
pretty_search
search.html.haml 778B
_row.html.haml 277B
_buttons.html.haml 698B
helpers
pretty_search
application_helper.rb 876B
README.rdoc 506B
Gemfile 55B
.rspec 26B
spec
routing
pretty_search_spec.rb 433B
controllers
pretty_search_controller_spec.rb 3KB
dummy
config
locales
ru.yml 1017B
database.yml 212B
application.rb 3KB
boot.rb 235B
environment.rb 149B
environments
test.rb 1KB
development.rb 1KB
db
migrate
20131223094036_create_dummy_tables.rb 237B
schema.rb 952B
Rakefile 270B
app
models
mug.rb 78B
company.rb 81B
.gitkeep 0B
controllers
application_controller.rb 118B
README.rdoc 9KB
config.ru 155B
lib
pretty_search
query_spec.rb 4KB
searcher_spec.rb 645B
field_spec.rb 2KB
pretty_search_spec.rb 3KB
spec_helper.rb 758B
.gitignore 154B
pretty_search.gemspec 1KB
lib
pretty_search
field.rb 1KB
searcher.rb 6KB
query.rb 3KB
engine.rb 62B
errors.rb 329B
pretty_search.rb 7KB
README.md 4KB
LICENSE.txt 1KB
共 47 条
- 1
资源评论
KawaiiLabsSol
- 粉丝: 31
- 资源: 4712
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功