RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: piotrkulpinski
Is there any way to get image dimensions in my view?
@user.avatar_width(:thumb) or @user.avatar_height(:thumb)
@user.avatar_width(:thumb)
@user.avatar_height(:thumb)
Something like this?
Is there any way to get image dimensions in my view?
@user.avatar_width(:thumb)
or@user.avatar_height(:thumb)
Something like this?