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

Commit

Permalink
Merge 6d166d7 into 82dc7cf
Browse files Browse the repository at this point in the history
  • Loading branch information
abournier committed Dec 10, 2013
2 parents 82dc7cf + 6d166d7 commit 4235cc5
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 4235cc5

Please sign in to comment.