Used column_defaults instead of attributes_from_column_definition

Used `column_defaults` instead of `attributes_from_column_definition` to be compatible with ActiveRecord >= 3.3