Rails Framework Documentation. Class: ActiveRecord. Active Record objects don't specify their attributes directly, but rather infer them from the table definition with which they're linked.
Adding, removing, and changing attributes and their type is done directly in the database. Any change is instantly reflected in the Active Record objects. Wiki.