Topic: Single Table Inheritance type column issues
I'm having problems identical to this post I found when searching for a solution.
To summarize: I'm using STI and trying to use collection_select in my form to create a dropdown of possible options for the record's "type". The error I get reads:
"wrong argument type String (expected Module)"
The linked post and associated discussion suggests renaming the type column to something else. I'm just trying to learn the Rails "golden path" so I'd like to know what is the canonical way to use STI. Why was the column for STI named "type" if it clashes with ruby's Object#type?