Class: Copse::Railtie

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

Overview

Points generated URLs at the Copse hostname in development, gives a linked worktree its own development database, and reports both on boot.

All the decision logic lives in Copse::UrlOptions and Copse::Database, which know nothing about Rails; this class is only the wiring.