You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eugen Kuksa edited this page Aug 29, 2016
·
5 revisions
Ontohub-Backend
Models
All models are defined in the ontohub-models gem.
These are included in the ontohub-backend and hets-ontohub-adapter.
However, they must not be required in the respective Gemfile, that is, use this line:
Instead, a database connection must be established first and then they must be required manually.
This is due to a limitation of the design of Sequel::Model:
Before loading a model class, a database connection must exist.