Class: ActiveSchema::OnTheFlyFeeder

Inherits:
Feeder
  • Object
show all
Defined in:
lib/active_schema/on_the_fly_feeder.rb

Instance Attribute Summary

Attributes inherited from Feeder

#associations_generator, #table_hub, #validations_generator

Instance Method Summary collapse

Methods inherited from Feeder

#add_model, #dispatch_attachments, #generate_assocations, #generate_associations_between, #generate_directed_associations_between, #generate_validations, #initialize

Constructor Details

This class inherits a constructor from ActiveSchema::Feeder

Instance Method Details

#model_loaded(model) ⇒ Object



5
6
7
8
9
10
# File 'lib/active_schema/on_the_fly_feeder.rb', line 5

def model_loaded(model)
  add_model(model)
  add_indexes(model)
  add_foreign_keys(model)
  dispatch_attachments(model)
end