Merge pull request #223 from dancinglightning/master

small doc fix for readme step 4
This commit is contained in:
John McAliley 2017-03-10 12:35:33 -05:00 committed by GitHub
commit 62299d195f
1 changed files with 6 additions and 5 deletions

View File

@ -93,7 +93,8 @@ Usage
result in 2 impressions being logged (but associated with one request_hash).
If you're using [friendly_id](https://github.com/norman/friendly_id) be sure
to log impressionist this way, as params[:id] will return a string(url slug)
while impressionable_id is a Integer column in database.
while impressionable_id is a Integer column in database. Also note that you
have to take step #3 for the Widget model for this to work.
def show
@widget = Widget.find