Module: ActiveRecord::VirtualAttributes::VirtualIncludes::ClassMethods

Defined in:
lib/active_record/virtual_attributes/virtual_includes.rb

Instance Method Summary collapse

Instance Method Details

#virtual_includes(name) ⇒ Object



20
21
22
23
# File 'lib/active_record/virtual_attributes/virtual_includes.rb', line 20

def virtual_includes(name)
  load_schema
  _virtual_includes[name.to_s]
end