RailsCasts Pro episodes are now free!

Learn more or hide this

Tin Nguyen's Profile

GitHub User: jamiespace

Site: www.jamiespace.com

Comments by Tin Nguyen

Avatar

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.