Module: Glamping::Models

Defined in:
lib/glamping/db.rb,
lib/glamping/session.rb

Overview

Just a dummy-code for stupid RDOC…

Defined Under Namespace

Classes: Session

Constant Summary collapse

A =
ActiveRecord
Base =

Base is an alias for ActiveRecord::Base. The big warning I’m going to give you about this: *Base overloads table_name_prefix.* This means that if you have a model class Blog::Models::Post, it’s table name will be blog_posts.

ActiveRecord is not loaded if you never reference this class. The minute you use the ActiveRecord or Glamping::Models::Base class, then the ActiveRecord library is loaded.

A::Base