Skip to content

Commit

Permalink
Migration guide extensions [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Vetter committed Jul 30, 2014
1 parent 1a2820a commit e788879
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@ to change its DSL and name, as no `attr_searchable` method is present anymore.
The new DSL is cleaner and more concise. Morever, the migration process is
simple.

## Installation

Change

gem 'attr_searchable'

to

gem 'search_cop'

And then execute:

$ bundle

Or install it yourself as:

$ gem install search_cop

## General DSL

AttrSearchable:

```ruby
Expand Down Expand Up @@ -44,7 +64,7 @@ class Book < ActiveRecord::Base
end
```

# Reflection
## Reflection

AttrSearchable:

Expand Down

0 comments on commit e788879

Please sign in to comment.