README.rdoc in simple-search-0.11.1 vs README.rdoc in simple-search-0.12.0
- old
+ new
@@ -11,13 +11,9 @@
In your Gemfile:
gem "simple-search" # Last officially released gem
-In your config/environment.rb
-
- require 'simple_search'
-
In your controller:
def index
@posts = Post.select('posts.*, comments.id as comment_id, comments.body as comment').joins(:comments)
@posts = @posts.simplesearch(params)