# frozen_string_literal: true

require “rails”

require “<%= name %>/version”

module <%= class_name %>

class << self
  # Configure table_name_prefix for all the models from the engine
  # if there could be a collision with other engines, or the main
  # app models.
  #
  # This is useful during the gradual migration to component-based
  # architecture.

  def table_name_prefix
    ""
  end
end

end

require “<%= name %>/engine”