RailsCasts Pro episodes are now free!

Learn more or hide this

James Trowbridge's Profile

GitHub User: Mysrt

Comments by James Trowbridge

Avatar

If you are having trouble getting some of your style changes to apply make sure you remembered generate the scaffold without stylesheets in the previous episode.

Avatar

In hindsight this was obvious, but dont apply any css width or height modifiers to the image the user is cropping. If you do this imagemagick will fail with "geometry does not contain image" since the coordinates you are giving it are not of the true image.