Gem Version Build Status Coverage Status

SchemaPlus::Core

SchemaPlus::Core creates an internal extension API to ActiveRecord. The idea is that:

  • SchemaPlus::Core does the monkey-patching so clients don't have to know too much about the internal of ActiveRecord.

  • SchemaPlus::Core's extension API is consistent across the various connection adapters, so clients don't have to figure out how to extend each connection adapter independently.

  • SchemaPlus::Core's extension API intends to remain reasonably stable even as ActiveRecord changes.

By itself, SchemaPlus::Core does not change any behavior or add any external features to ActiveRecord. It just makes the API available to clients.

SchemaPlus::Core is a client of schema_monkey, using modware to define middleware callback stacks.

Compatibility

SchemaPlus::Core is tested on:

  • ruby 2.4.4 with activerecord 5.0, using mysql2, sqlite3 or postgresql
  • ruby 2.4.4 with activerecord 5.1, using mysql2, sqlite3 or postgresql
  • ruby 2.4.4 with activerecord 5.2, using mysql2, sqlite3 or postgresql
  • ruby 2.5.1 with activerecord 5.0, using mysql2, sqlite3 or postgresql
  • ruby 2.5.1 with activerecord 5.1, using mysql2, sqlite3 or postgresql
  • ruby 2.5.1 with activerecord 5.2, using mysql2, sqlite3 or postgresql