method

convert_key

rails latest stable - Class: ActiveRecord::Associations::Preloader::Association

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

convert_key(key)
private

No documentation available.

# File activerecord/lib/active_record/associations/preloader/association.rb, line 249
          def convert_key(key)
            if key_conversion_required?
              key.to_s
            else
              key
            end
          end