module Cell::Ext::ActiveRecord::ClassMethods

Public Instance Methods

global_model?() click to toggle source
# File lib/cell/ext/active_record.rb, line 28
def global_model?
  Meta.global_model?(self)
end
load_schema!() click to toggle source

When a model's schema is lazy-loaded, we want to make sure our view of the DB allows us to get introspection data.

Calls superclass method
# File lib/cell/ext/active_record.rb, line 34
def load_schema!
  Meta.with_structural_schema do
    return super
  end
end