method

has_column?

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: TableMetadata
has_column?(column_name) public

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/table_metadata.rb, line 21
    def has_column?(column_name)
      klass&.columns_hash&.key?(column_name)
    end
Register or log in to add new notes.