I have a case when I want to use postgres table inheritance. I want my 
STI inheritance_column to be virtual. What is the reason to check 
for inheritance_column in the columns_hash?

https://github.com/rails/rails/blob/4-2-release_notes/activerecord/lib/active_record/inheritance.rb#L151

If we check only in the record (from the query result), then it would be 
possible to have STI based on virtual columns.

Regards!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to