method

instantiate

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActiveRecord::Base
instantiate(record) private

Finder methods must instantiate through this method to work with the single-table inheritance model that makes it possible to create objects of different types from the same table.

Show source
Register or log in to add new notes.