# Question on Stack Overflow re openEHR Persistence using RoR Active Record **Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156) **Created:** 2015-01-19 23:17 UTC **Views:** 4 **Replies:** 2 **URL:** https://discourse.openehr.org/t/question-on-stack-overflow-re-openehr-persistence-using-ror-active-record/12058 --- ## Post #1 by @system 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, \.\.\." http://stackoverflow.com/q/27909328/3973688?sem=2 Anyone want to help? Ian Dr Ian McNicoll mobile \+44 \(0\)775 209 7859 office \+44 \(0\)1536 414994 skype: ianmcnicoll email: ian@freshehr\.com twitter: @ianmcnicoll Director, freshEHR Clinical Informatics Director, openEHR Foundation Director, HANDIHealth CIC Hon\. Senior Research Associate, CHIME, UCL --- ## Post #2 by @pablo This is one of my students :D 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. --- ## Post #3 by @system Hi Ian, 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\. Shinji KOBAYASHI --- **Canonical:** https://discourse.openehr.org/t/question-on-stack-overflow-re-openehr-persistence-using-ror-active-record/12058 **Original content:** https://discourse.openehr.org/t/question-on-stack-overflow-re-openehr-persistence-using-ror-active-record/12058