Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Ben's Profile

GitHub User: bsimpson

Site: http://mrfrosti.com

Comments by Ben

Avatar

This episode was very informative. A note about the "ratio" variable in JS. This shouldn't be necessary to embed into the JS since it can be done from the custom Cropper class that you created. I find this to be cleaner, safer, and lighter on the client side.