method

column_exists?

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

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