Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Tin Nguyen's Profile

GitHub User: jamiespace


Comments by Tin Nguyen


Great post !
But I got error in show.html.erb, it said "wrong number of argument 1 of 0). Then I changed

<%= image_tag @user.avatar(:thumb.)to_s %> to
<%= image_tag @user.avatar.thumb.url.to_s %>

it turned ok.