Rails Multi Table Inheritance, Polymorphic association or Single Table
Inheritance?
"I'm trying to implement the OpenEHR reference model in Rails
(ActiveRecord), but I'm finding some problems, since it works with a
lot of different of different classess, ..."
This is one of my students doing our Clinical Database Design with openEHR course. He is trying to use Rails to solve an assigment, but I’m not a Rails expert, so anyone with Rails knowledge might help him better than me.
i added a comment. It needs tricky codes to implement COMPOSITE patten
with ActiveRecord and RDBMS.
The following example on GitHub is an extract of my project. https://github.com/skoba/openehr_rm_rails
I will feedback recent experience to openehr-rails repository, until
the next medinfo.