dryvPacks

@dryv/active-record-modelsv0.1.0

Ruby Active Record models with typed attributes, primary keys and associations.

Active Record ModelsPersistenceUnitPublished 7 days ago2 downloads

dryv pack add @dryv/active-record-models
208 BRaw ↗
jinja
# frozen_string_literal: true

require "active_record"

{% for item in file.exports %}
require_relative "{{ item.path.relative | replace('.rb', '') }}"
{%- endfor %}

module {{ pack.inputs.module_name }}
end