Permalink
Browse files

fix typo

  • Loading branch information...
1 parent f7b76cd commit c57255abbb7b437f300afd5d5b43105bdfd516b0 Sergio Cambra committed Jul 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/paperclip/geometry.rb
@@ -149,7 +149,7 @@ def cropping dst, ratio, scale
# scale to the requested geometry and preserve the aspect ratio
def scale_to(new_geometry)
scale = [new_geometry.width.to_f / self.width.to_f , new_geometry.height.to_f / self.height.to_f].min
- Paperclip::Geomery.new((self.width * scale).round, (self.height * scale).round)
+ Paperclip::Geometry.new((self.width * scale).round, (self.height * scale).round)
end
end
end

0 comments on commit c57255a

Please sign in to comment.