Sha256: f5c2f101350512049a7f7342844a38aa815a97870c3282ddaaf4b7450e6e2174

Contents?: true

Size: 509 Bytes

Versions: 1

Compression:

Stored size: 509 Bytes

Contents

= Mysql Simple Fulltext

MysqlSimpleFulltext lets you make simple MySQL fulltext searches a simple way without writing SQL queries in your ActiveRecord.

== Getting started

  gem install mysql_simple_fulltext

In your Gemfile
  
  gem "mysql_simple_fulltext"

== In your model

Setup your fulltext search

  search_with_simple_fulltext [:title, :content]

Generate your migration file

  rails generate mysql_symple_fulltext:migration Post

  rake db:migrate

Search !

  Post.fulltext_search("Lorem Ipsum")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mysql_simple_fulltext-0.0.2 README.rdoc