Using Paperclip with Padrino
Background: I'm building a simple blog using Padrino, Ruby 1.9.2, HAML, and Heroku. I want the posts index to have a magazine-like look to it. For each post in the index, the user should see titles, content teasers, and images. My problem is with attaching the images. Problem: I've been trying to use the Paperclip gem to attach an image to each post. Heroku will fish the actual image from an Amazon S3 bin. So far, when I try to run a migration, I get the error: $ .../base.rb:1088:in `method_missing': undefined method `has_attached_file' for #<Class:0xa672140> (NoMethodError) It looks like