RailsCasts Pro episodes are now free!

Learn more or hide this

Piotr Kulpi?ski's Profile

GitHub User: piotrkulpinski

Comments by Piotr Kulpi?ski

Avatar

Is there any way to get image dimensions in my view?

@user.avatar_width(:thumb) or @user.avatar_height(:thumb)

Something like this?