ActiveRecord::Base#becomes

*Wouldn't be nice if this could save the new type of the record, if it has a "type" column (single table inheritance)?

*>> a = Account.find 2 => #<Account id: 2 ...> >> a.becomes(ManagerAccount) => #<ManagerAccount id: 2 ...> >> a.save => true >> a = Account.find 2 => #<Account id: 2 ...>**

Thanks for the great excuse to figure out GitHub workflow :slight_smile:

http://github.com/JackDanger/rails/commits/becomes_recognizes_inheritance_column

::Jack