Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #28 from abournier/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
mezis committed Dec 15, 2013
2 parents 82dc7cf + 6d166d7 commit b175d18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ class AddTrigramsModel < ActiveRecord::Migration
end
```

## Model primary key (id) is VARCHAR

If you set your Model primary key (id) AS `VARCHAR` instead of `INT`, you will need to change the `owner_id` column type from `INT` to `VARCHAR` in the trigrams table.

## Searching virtual attributes

Your searchable fields do not have to be stored, they can be dynamic methods
Expand Down

0 comments on commit b175d18

Please sign in to comment.