I think this query is more Ruby than Rails but I’m writing a Rails app
using single table inheritance
class User < ActiveRecord::Base
class AdminUser < User
The type column in the users table holds the class name for each
Now I want to convert a User object into an AdminUser. Is this
possible? Does anyone know the best way to do this?
Thanks in advance