Flowdock
method

schema_default

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: ColumnDumper
schema_default(column) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb, line 42
      def schema_default(column)
        default = column.type_cast_from_database(column.default)
        unless default.nil?
          column.type_cast_for_schema(default)
        end
      end
Register or log in to add new notes.