class Planter::Adapters::ActiveRecord

Default adapter for seeding Active Record tables.

When a table maps to an Active Record model, records are created through that model. Tables without a matching model, such as join tables, are seeded directly through the database connection.

Custom adapters should implement this public API:

context is a Planter::SeedContext. Adapters are responsible for resolving those values into whatever persistence or reflection objects they need.