Mike Nicholaides
Mike Nicholaides
Here's a better solution: ``` ruby def links_in_email(email) part = email.default_part if part.content_type =~ /text\/html/ Nokogiri::HTML::Document.parse(part.body.to_s).search('a').map{|a| a[:href] } else URI.extract(part.body.to_s, ['http', 'https']) end end ```
+1 I have the same issue
For future Googlers, I fixed the issue by using the `useFlashForFirefox: false` flag.
+1. Still slow, even for small files.
Oh, and Crack should be in the gemspec as a requirement if it's going to be used.