Hi,

I'm looking at the rails activerecord base.rb file it's main structure
is shown below. Why have a class inside a class like this? What
advantages are there?

Thanks,
Peter

class Base

    # methods ...

    class << self # Class methods
      # methods ...      
    end
    
    # methods ...

end