Module: Vorpal::Config::LocalEndConfig
- Included in:
- BelongsToConfig
- Defined in:
- lib/vorpal/config/configs.rb
Instance Method Summary collapse
- #associated_class_config(db_owner) ⇒ Object
- #fk_value(db_owner) ⇒ Object
- #set_foreign_key(db_owner, associate) ⇒ Object
Instance Method Details
#associated_class_config(db_owner) ⇒ Object
41 42 43 |
# File 'lib/vorpal/config/configs.rb', line 41 def associated_class_config(db_owner) association_config.remote_class_config(db_owner) end |
#fk_value(db_owner) ⇒ Object
49 50 51 |
# File 'lib/vorpal/config/configs.rb', line 49 def fk_value(db_owner) db_owner.send(fk) end |
#set_foreign_key(db_owner, associate) ⇒ Object
45 46 47 |
# File 'lib/vorpal/config/configs.rb', line 45 def set_foreign_key(db_owner, associate) association_config.set_foreign_key(db_owner, associate) end |