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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:31:39+00:00 2026-06-15T12:31:39+00:00

In my rails 3.2 project, I have some controllers like this: /app/controllers/application_controller.rb /app/controllers/college/application_controller.rb /app/controllers/college/actors_controller.rb

  • 0

In my rails 3.2 project, I have some controllers like this:

/app/controllers/application_controller.rb
/app/controllers/college/application_controller.rb
/app/controllers/college/actors_controller.rb

The content of /app/controllers/college/actors_controller.rb like:

class College::ActorsController < College::ApplicationController
end

The content of /app/controllers/college/application_controller.rb like:

class College::ApplicationController < ApplicationController
  before_filter do
    puts "welcome"
  end
end

If I modify the controller, reload the web browser.
The console can be output string “welcome”.
But when I shutdown the webrick, and restart webrick, then reload the web browser, the console doesn’t output “welcome”

It looks like College::ApplicationController not be loaded ?

And how can I fix it ?

  • 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-15T12:31:41+00:00Added an answer on June 15, 2026 at 12:31 pm

    We ran into something similar and fully defined class definitions solved our problem.

    It’s worth trying to change

    class College::ActorsController < College::ApplicationController
    

    to

    class College::ActorsController < ::College::ApplicationController
    

    and

    class College::ApplicationController < ApplicationController
    

    to

    class College::ApplicationController < ::ApplicationController
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a rails project that I would like to set up email notifications
This is not a ruby/rails project deploy. I have the following situation and I
Right now I'm building a project management app in rails, here is some background
I have a project to move some JS code outside of rails into the
I have an otherwise functioning rails project where I'm trying to update some form
I have a Rails Engine meant to provide some models and controllers to a
I have a Ruby on Rails 3 news app. It takes a title, some
I have a rails (2.3.5) app and I had to make some changes on
I'm modeling some conversations in my Rails project: I have Topics as a parent
This is my first Rails project. For some reason, I can't post to one

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.