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
{{ message }}
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
If single table inheritance is used on the back end, hyper-mesh won't instantiate the correct subclass, only ever the parent class.
# field.string :typeclassUser < ActiveRecorddefself.meaningfulfind(42)endendclassEmployer < UserendEmployer.create.id# 42Employer.meaningful.class#=> User (should be Employer)User.meaningful.class#=> User (should also be Employer!)
The AR method becomes should also be added to allow switching class: