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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:42:00+00:00 2026-06-01T16:42:00+00:00

So far when learning Ruby and Ruby on Rails I keep encountering the syntax

  • 0

So far when learning Ruby and Ruby on Rails I keep encountering the syntax

ActionController::Base

And have never clarified exactly what it means. Why the :: instead of say, a slash? Wouldn’t ActionController/Base be more specific?

For example, while using the Globalize3 gem I added to my model the line

class About < ActiveRecord::Base
  translates :message
end

I get the generated model named MonthlyPost::Translation, but that doesn’t explain much. Where exactly are these stored, and what does the :: mean? Any thoughts would be wonderful. Thanks.

  • 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-01T16:42:01+00:00Added an answer on June 1, 2026 at 4:42 pm

    ActionController::Base means find the class Base in the module ActionController.

    It’s a way of organising your classes, and also to avoid conflicts with classes made by others.

    Here is a good article explaining how to use Modules for namespaces.

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

Sidebar

Related Questions

I'm currently learning C# and its fun so far, but I have hit a
I am learning Python (2.7) and to test what I have learned so far
I've just begun learning Unix and have so far encountered two elementary though difficult
I'm new to Ruby on Rails and so far, I'm having a lot of
I have a boss who is convinced learning Rails is too steep a learning
I am learning Ruby and I have a bug I cannot understand. I have
I have been learning to use Emacs for a little while now. So far
So far in my learning I have only come across spreading column sizes equally,
I'm learning Rails and it's going well so far. My biggest question at the
im learning wpf for the first time, i have made this far private void

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.