method

suppress_composite_primary_key

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods
suppress_composite_primary_key(pk) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_methods/primary_key.rb, line 131
            def suppress_composite_primary_key(pk)
              return pk unless pk.is_a?(Array)

              warn                 WARNING: Active Record does not support composite primary key.                #{table_name} has composite primary key. Composite primary key is ignored..strip_heredoc
            end
Register or log in to add new notes.