title: Rails STI: How to change mapping between class name & value of the 'type' column
body: <p>Because of company rules I can't use our domain class names; I am going to use an analogy instead. I have a table called projects which has a column called 'type' with possible values as 'indoor' &amp; 'outdoor'. Records having indoor and outdoor have clear functionality separation and would fit pretty neatly as a STI implementation. Unfortunately I can't change the type-names and can't add classes inside the global namespace. Is there a way to specify a different value for 'type'?</p>
  
  <p>Note: I am not trying to use a different column name instead of 'type' for STI. I am looking to have a different value for type, other than my class name.</p>