Can I configure the type value for STI?

I would like to ask if there is a way to make a mapping from the type
column value to the Ruby class name?

It’s not a big deal, I guess. But It bothers me somewhat that Rails
puts the name of the subclasses in the database when using STI. In my
opinion it ties the database a little too close to the program
structure.