Module: Camping::Models
- Defined in:
- lib/camping.rb,
lib/camping/db.rb,
lib/camping/session.rb
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 Camping::Models::Base class, then the ActiveRecord library is loaded.
A::Base
Instance Method Summary collapse
Instance Method Details
#Y ⇒ Object
48 |
# File 'lib/camping.rb', line 48 def Y;self;end |