I have a field type in a model called user which is an int in the db. The value of the int speficies the type of store it is. Example:
You should avoid using "type" as a model's column name unless you use Single Table Inheritance.
http://api.rubyonrails.org/classes/ActiveRecord/Base.html#class-ActiveRecord::Base-label-Single+table+inheritance