Skip to content

Commit

Permalink
Removing some debug text.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamnet committed Apr 14, 2012
1 parent 73b7a17 commit 53b9749
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/image_utility.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ def self.resize(image, width, height, maintain_aspect_ratio=true)
if maintain_aspect_ratio && (!width.nil? && !height.nil?)
desired_ratio = width.to_f / height
image_ratio = image.columns.to_f / image.rows
Rails.logger.debug(desired_ratio)
Rails.logger.debug(image_ratio)
Rails.logger.debug("Done")
if image_ratio > desired_ratio
height = nil
else
Expand Down

0 comments on commit 53b9749

Please sign in to comment.