Ruby on Rails latest stable (v4.2.7) - 0 notes - Class: ActiveRecord::Persistence

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

attributes_from_column_definition() private

Initializes the attributes array with keys matching the columns from the linked table and the values matching the corresponding default value of that column, so that a new instance, or one populated from a passed-in Hash, still has all the attributes that instances loaded from the database would.

Show source
Register or log in to add new notes.