Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4083170
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:16:45+00:00 2026-05-20T18:16:45+00:00

Hello I’ve been looking around at all the various tutorials out there for Paperclip

  • 0

Hello I’ve been looking around at all the various tutorials out there for Paperclip post processing but somehow I can not get the ‘Make’ method to invoke.

Take a look at line 36 here… http://pastie.org/private/epfgcxywhyh4wpmozypg

It uploads normally without any errors or warnings but I can never see the puts statement in the make method which tells me that this isn’t being invoked.

EDIT

I can run this in the model without a problem and I get True,

def class_exists?(class_name)
   klass = Paperclip.const_get(class_name)
   return klass.is_a?(Class)
rescue NameError
   return false
end

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:16:46+00:00Added an answer on May 20, 2026 at 6:16 pm

    Two days ago I was facing the same problem. Here what I did to make it work:

    Go to the command prompt and type: “which convert” command. This is ImageMagick command so if it says /usr/bin/convert then try adding

    Paperclip.options[:command_path] = "/usr/bin"
    

    in your config/environments/development.rb. Remove /convert from what you get over there.

    then change name of your file file_contents.rb to paperclip_postprocess.rb and put it into directory: RAILS_ROOT/config/initializers/paperclip_postprocess.rb

    You can cross check if your attachment is being processed or not by adding following lines in your model:

       before_post_process :before_post_process
       after_post_process :after_post_process
    
       def before_post_process
            puts "===========Before processing attachment==========="
       end
    
       def after_post_process
            puts "-----------After processign attachment------------"
       end
    

    Take a look here

    It worked for me at least.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello! I've been programming for a long time but just started developing for android,
Hello i want to get simple list fragment example i have searched out but
Hello all I am working on javascript jquery and svg.I want to ask a
Hello all I am working on html and javascript.And I am going to ask
hello all i am working on a project in which i have a webpage
Hello Guys I am trying to figure out why i am gettings this error
hello creating a custom object may be a widely published topic, but my lack
Hello StackOverflow, I'd like to know if there is way to trigger an event
Hello All I am trying to flatten a list in Ocaml. I am a
Hello There, I am new to phonegap.I am trying to record a audio clip

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.