method

encode_with

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: SchemaCache
encode_with(coder) public

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/connection_adapters/schema_cache.rb, line 26
      def encode_with(coder)
        coder["columns"] = @columns
        coder["columns_hash"] = @columns_hash
        coder["primary_keys"] = @primary_keys
        coder["data_sources"] = @data_sources
        coder["version"] = connection.migration_context.current_version
      end
Register or log in to add new notes.