method
column_defined?
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::FixtureSet::TableRow::PrimaryKeyError
column_defined?(col)public
No documentation available.
# File activerecord/lib/active_record/fixture_set/table_row.rb, line 136
def column_defined?(col)
!model_metadata.has_column?(col) || @row.include?(col)
end