RailsCasts Pro episodes are now free!

Learn more or hide this

alapp's Profile

GitHub User: alapp

Comments by

Avatar

Can't you do an if statement? If your width if larger than height, X, else, Y. Shouldn't be hard.....

Avatar

There's an updated gem for Rails 4 here.