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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:24:11+00:00 2026-05-25T15:24:11+00:00

In my application.css.scss I reference an image like this: body { background: #7d9ec4 url(asset-path(‘background.png’,

  • 0

In my application.css.scss I reference an image like this:

body {
    background: #7d9ec4 url(asset-path('background.png', image)) no-repeat fixed bottom center;
}

It is located in app/assets/images/background.png and it works perfectly fine in dev.

I’m deploying to Heroku, so I need to precompile the assets. After I run rake assets:precompile the comiled files show up in public/assets/ and my background.png gets this filename: background-876262e736e0b48500313d1a48005396.png(no surprise, I know it’s the fingerprint).

What baffles me is that the compiled application-7665539658a117373a79cd8568f36315.css tries to load /assets/background-61d37b9fc285589fc0016694e6f8d134.png, which clearly is the wrong fingerprint.

So I deleted all files from public/assets/ and compiled again, added the new files to git (and removed the old ones), committed and pushed to Heroku – but no luck: the CSS still uses the wrong background-xyz.png.

Does anybody know how to resolve this?

  • 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-25T15:24:12+00:00Added an answer on May 25, 2026 at 3:24 pm

    i think there was an issue in the Rails Github issue tracker about this:
    https://github.com/rails/rails/issues/2569

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

Sidebar

Related Questions

I want to convert CSS to SCSS that looks like this: .top { margin-top:
In this case, I've developed a CSS code for this web application ..and sometimes
I have this in Nginx configuration files gzip_types text/plain text/html text/css application/json application/x-javascript text/xml
I have a setup like so http://localhost/ http://localhost/ci_tada/ http://localhost/ci_tada/application http://localhost/ci_tada/application/views http://localhost/ci_tada/application/views/css http://localhost/ci_tada/application/views/css/master.css I dont
I have the following setup: app/assets/stylesheets/application.css.scss /* *= require_self *= require fancybox */ /*
I have an AJAX application which has used CSS divs to create panels on
I need to build my application GUI using HTML/CSS/JavaScript with a C++ backend all
Is there any way to suppress the default js and css loaded by application.html.erb
I am writing an web application powered by PHP, Smarty, JavaScript, CSS, MySQL. There
I have a quandary. My web application (C#, .Net 3.0, etc) has Themes, CSS

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.