method

check_model_columns

rails latest stable - Class: ActiveRecord::ModelSchema::ClassMethods

Method not available on this version

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

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