Tracy Lum
1 min readDec 18, 2018

--

Alireza Bashiri, thanks for commenting! According to the documentation, you actually can, specifically for Single Table Inheritance.

Active Record allows inheritance by storing the name of the class in a column that by default is named “type” (can be changed by overwritingBase.inheritance_column)

Docs here.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Tracy Lum
Tracy Lum

No responses yet

Write a response