Skip to content

Instantly share code, notes, and snippets.

View mxie's full-sized avatar

Melissa Xie mxie

View GitHub Profile
@djcp
djcp / gist:e5569155b402fd62d837
Created June 18, 2014 17:43
Monkeypatch paperclip for fast processing during specs
module ImageHelpers
def fixture_file(path)
File.open(path)
end
end
module Paperclip
class Geometry
def self.from_file file
parse("100x100")