method
check_model_columns
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::ModelSchema::ClassMethods
check_model_columns(columns_present)private
No documentation available.
# File activerecord/lib/active_record/model_schema.rb, line 654
def check_model_columns(columns_present)
raise ArgumentError, "You can not use both only_columns and ignored_columns in the same model." if columns_present
end