Merge pull request #223 from dancinglightning/master
small doc fix for readme step 4
This commit is contained in:
commit
62299d195f
|
@ -93,7 +93,8 @@ Usage
|
||||||
result in 2 impressions being logged (but associated with one request_hash).
|
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
|
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)
|
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
|
def show
|
||||||
@widget = Widget.find
|
@widget = Widget.find
|
||||||
|
|
Loading…
Reference in New Issue