Flowdock
method

attributes_from_column_definition

Importance_1
v1.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Base
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.