没有合适的资源?快使用搜索试试~ 我知道了~
textacular:Textacular公开了PostgreSQL全文搜索功能,并允许您声明全文索引。 Textacular将...
共52个文件
rb:32个
gemfile:6个
md:4个
需积分: 9 0 下载量 91 浏览量
2021-05-02
10:01:32
上传
评论
收藏 34KB ZIP 举报
温馨提示
文字的 有关更多文档,请访问 。 描述: Textacular公开了PostgreSQL全文搜索功能,扩展了ActiveRecord的作用域,使搜索变得轻松而有趣! 功能/问题: 仅适用于PostgreSQL 概要: 快速开始 Rails 3,Rails 4 在项目的Gemfile中添加 gem 'textacular' , '~> 4.0' 滑轨> 5.0 在项目的Gemfile中添加 gem 'textacular' , '~> 5.0' 在Rails之外的ActiveRecord require 'textacular' ActiveRecord :: Base . extend ( Textacular ) 用法 您的模型现在可以使用搜索方法: #basic_search方法是您可能期望的:从字面上看您要发送给它的内容,而对输入没有任何幻想: Game . basi
资源推荐
资源详情
资源评论
收起资源包目录
textacular-master.zip (52个子文件)
textacular-master
.gitignore 93B
.rspec 30B
gemfiles
activerecord-5.2.gemfile 124B
activerecord-5.0.gemfile 119B
activerecord-6.0.gemfile 122B
activerecord-5.1.gemfile 120B
activerecord-6.1.gemfile 120B
.travis.yml 790B
.autotest 480B
CONTRIBUTING.md 1018B
db
migrate
004_create_trigram_extension.rb 224B
003_create_characters.rb 265B
002_create_web_comics.rb 250B
001_create_games.rb 247B
CHANGELOG.md 7KB
spec
.gitignore 11B
support
web_comic.rb 116B
web_comic_with_searchable_name_and_author.rb 154B
game.rb 95B
not_there.rb 63B
game_extended_with_textacular.rb 88B
game_fail_extended_with_textacular.rb 101B
game_fail.rb 51B
character.rb 133B
game_extended_with_textacular_and_custom_language.rb 178B
web_comic_with_searchable.rb 125B
textacular_web_comic.rb 187B
ar_stand_in.rb 91B
web_comic_with_searchable_name.rb 136B
textacular_spec.rb 10KB
config.travis.yml 142B
spec_helper.rb 4KB
textacular
migration_generator_spec.rb 2KB
full_text_indexer_spec.rb 2KB
trigram_installer_spec.rb 669B
searchable_spec.rb 8KB
config.yml.example 94B
README.md 7KB
lib
textacular.rb 7KB
textacular
postgres_module_installer.rb 2KB
trigram_installer.rb 496B
tasks.rb 857B
migration_generator.rb 718B
searchable.rb 322B
full_text_indexer.rb 2KB
version.rb 80B
rails.rb 352B
textacular.gemspec 2KB
RELEASING.md 644B
Gemfile 143B
Rakefile 2KB
.pryrc 845B
共 52 条
- 1
资源评论
生物医药从业者
- 粉丝: 17
- 资源: 4616
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功