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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:31:09+00:00 2026-06-02T21:31:09+00:00

I’m struggling through upgrading an app to Rails 3 (Ruby 1.8.7), and my current

  • 0

I’m struggling through upgrading an app to Rails 3 (Ruby 1.8.7), and my current roadblock is when running ‘rake test –trace’ i get the following:

** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke test:prepare (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Invoke test:functionals (first_time)
** Invoke test:prepare
** Execute test:functionals
DEPRECATION WARNING: "Rails.root/test/mocks/test" won't be added automatically to load paths anymore in future releases. (called from <APP PATH>/config/application.rb:17)
C:/Ruby187/lib/ruby/gems/1.8/gems/actionpack-3.0.11/lib/action_controller/caching/pages.rb:47: undefined method `config_accessor' for SiteSweeper:Class (NoMethodError)
        from C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.11/lib/active_support/concern.rb:52:in `class_eval'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.11/lib/active_support/concern.rb:52:in `append_features'
        from <APP PATH>/app/sweepers/site_sweeper.rb:4:in `include'
        from <APP PATH>/app/sweepers/site_sweeper.rb:4
        from C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:239:in `require'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:239:in `require'
...

The error here points to code that is actually inside the Rails 3.0.11 gem (action_controller/caching/pages.rb:47) and i can’t figure out why that would cause problems or why i can’t find any others having this problem. I’m also looking for the docs for ActionController::Caching to see if ‘config_accessor’ would have gone away..?

Any assistance is much appreciated.

  • 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-06-02T21:31:10+00:00Added an answer on June 2, 2026 at 9:31 pm

    I’m not sure that this is a complete answer, but for the applications i’m upgrading the ‘test/mocks’ directory had nothing in it. Removing the directory removed the deprecation messages.

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

Sidebar

Related Questions

We're building an app, our first using Rails 3, and we're having to build
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I am currently running into a problem where an element is coming back from
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti

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.