Class: CustomId::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/custom_id/railtie.rb

Overview

Hooks CustomId into a Rails application.

When Rails loads, this Railtie exposes the custom_id:install and custom_id:uninstall rake tasks so developers can set up the initializer that auto-includes Concern into every ActiveRecord model.