method

column_exists?

rails latest stable - Class: ActiveRecord::ConnectionAdapters::Table

Method not available on this version

This method is only available on newer versions. The first available version (v3.0.0) is shown here.

column_exists?(column_name, type = nil, options = nil)
public

Checks to see if a column exists. See SchemaStatements#column_exists?