method

valid_type?

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Rails::Generators::GeneratedAttribute
valid_type?(type) public

No documentation

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

Hide source
# File railties/lib/rails/generators/generated_attribute.rb, line 63
        def valid_type?(type)
          DEFAULT_TYPES.include?(type.to_s) ||
            ActiveRecord::Base.connection.valid_type?(type)
        end
Register or log in to add new notes.