method

as_options

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ReferenceDefinition
as_options(value, default = {}) 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_definitions.rb, line 109
      def as_options(value, default = {})
        if value.is_a?(Hash)
          value
        else
          default
        end
      end
Register or log in to add new notes.