Class: Vehicles::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Vehicles::Railtie
- Defined in:
- lib/vehicles/railtie.rb
Overview
Wires the gem into Rails without forcing anything: it only registers the ActiveModel validators, and only once ActiveRecord/ActiveModel is loaded. There’s no engine, no migration, no table — the data lives in the bundled JSON, so there’s nothing to install.