instance method check_model_columns

Ruby on Rails 8.1.2

Since v8.1.2 Private

Signature

check_model_columns(columns_present)

No documentation comment.

Parameters

columns_present req
Source
# 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

Defined in activerecord/lib/active_record/model_schema.rb line 654 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ModelSchema::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close