method

encode_with

Importance_0
v6.0.0 - 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 28
      def encode_with(coder)
        coder["columns"]          = @columns
        coder["columns_hash"]     = @columns_hash
        coder["primary_keys"]     = @primary_keys
        coder["data_sources"]     = @data_sources
        coder["indexes"]          = @indexes
        coder["version"]          = connection.migration_context.current_version
        coder["database_version"] = database_version
      end
Register or log in to add new notes.