Undefined has_attached_file method after installing Paperclip?

Not sure if I did everything right here. I added the Paperclip gem to my Gemfile and installed the package. I followed the readme instructions on the Paperclips Github page.

I was not sure if I needed to install ImageMagick. But I found a script on Github to install on Snow Leopard, so I ran:

rails plugin install http://github.com/masterkain/ImageMagick-sl.git

But now I get the Undefined has_attached_file method

I am completely new to Rails and programming. Most of this is pretty advanced for me, but so far I have managed to isolate the material.

+3
source share
1

rails?

+3

Source: https://habr.com/ru/post/1768514/


All Articles