ActiveRecord::Persistence

module ActiveRecord::Persistence

Active Record Persistence

Public Instance Methods

becomes(klass) Show source

Returns an instance of the specified klass with the attributes of the current record. This is mostly useful in relation to single-table inheritance structures where you want a subclass to appear as the superclass. This can be used along with record identification in Actio