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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:47:29+00:00 2026-05-14T01:47:29+00:00

I have a RoR application (ruby v1.8.7; rails v2.3.5) that is caching a page

  • 0

I have a RoR application (ruby v1.8.7; rails v2.3.5) that is caching a page in the development environment. This wouldn’t be so much of an issue, but the cached page’s a elements are incorrect.

I haven’t made any changes to the development.rb file and I haven’t knowingly added any caching commands to the controllers.

I’ve tried clearing the browser’s (Firefox 3.5 on OSX) cookie and page caches for this site (localhost). I’ve also restarted Mongrel. Nothing seems to help.

What am I missing?

  • 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-14T01:47:29+00:00Added an answer on May 14, 2026 at 1:47 am

    This line in development.rb ensures that caching is not happening.

    config.action_controller.perform_caching             = false
    

    You can clear the Rails cache with

    Rails.cache.clear
    

    That said – I am not convinced this is a caching issue. Are you making changes to the page and not seeing them reflected? You aren’t perhaps looking at the live version of that page? I have done that once (blush).

    Update:

    You can call that command from in the console.
    Are you sure you are running the application in development?

    The only alternative is that the page that you are trying to render isn’t the page that is being rendered.

    If you watch the server output you should be able to see the render command when the page is rendered similar to this:

    Rendered shared_partials/_latest_featured_video (31.9ms)
    Rendered shared_partials/_s_invite_friends (2.9ms)
    Rendered layouts/_sidebar (2002.1ms)
    Rendered layouts/_footer (2.8ms)
    Rendered layouts/_busy_indicator (0.6ms)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ruby-on-rails application and I'm now wondering why RoR uses Restful Requests:
I have a ruby on rails application and thinking about porting it to java.
I'm just getting started with Ruby on Rails development and I have a question
let's say that RoR development environment is set up and working does the developer
I am writing a web based application using Ruby on Rails. In one of
I have a problem, trying to render partials in ruby on rails with the
I'm currently looking at hosting solutions for my Ruby on Rails SaaS web application,
I have an action in my RoR application, and it calls a different script
Here, I have a problem in searching record in Postgresql DB in RoR Application.
I am interested in using/learning RoR in a project where I have to use

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.