RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: bsimpson
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.