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 6363443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:02:22+00:00 2026-05-25T00:02:22+00:00

I updated a thumbnail size for my Photo model. Worked great on my local,

  • 0

I updated a thumbnail size for my Photo model.

Worked great on my local, and deployed it to production.

Unfortunately, even if I run reprocess on a specific Photo it still reprocesses to the old params.

If I check Photo.photo.styles it returns the correct new styles, but if I set that Photo to reprocess, it refuses to abide by the settings I applied.

How do I clear paperclip’s cache? If it isn’t paperclip that’s caching it, what possibly could be doing that?

I’m not using delayed_jobs to do this, but I have restarted that as well.

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-25T00:02:22+00:00Added an answer on May 25, 2026 at 12:02 am

    The error was caused by my browser caching the old style. To resolve this, I went into the haml, and added a random URI:

    = image_tag @image.photo(:format) + "?" + rand(9999)
    

    A slight hackery as my application has turned off the default timestamped URI’s. Maybe that’s your problem as well. Equally, I also noticed that when I tried to run refresh on a large group of objects it would fail..

    Then what I did was posted this question:

    Can you identify the current dimensions of an image with Paperclip?

    And made a select statement where I found whichever photo wasn’t reprocessed yet, and to reprocess it. I was working with roughly 25,000 photo objects.

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

Sidebar

Related Questions

Updated-2 I have interesting combination of warnings & errors. Firstly, when debugging, i get
Updated Example: http://jsfiddle.net/7Cwbn/62/ You can click on the markers Hold Ctrl to select multiple
UPDATED: I am setting default scope for some models in a runtime which seems
[Updated with partial answers, some more detailed questions.] Does CouchDB support multi-domain hosting? Yes,
UPDATED: I have some table with sync_numbers, like this: --------------------- id | sync_number ---------------------
UPDATED: Added one more question (Question #4). Hi all, I'm building myself a custom
UPDATED QUESTION Since the ctor is not supported by .NETCF (public FileStream(IntPtr handle, FileAccess
Updated question, see below I'm starting a new project and I would like to
UPDATED See post #3 below. There is a need to upload a file to
Updated Appears to be a precedence error and nothing to do with the question

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.