whittaker_tech-midas 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ced6c0bb5653348b76ef9283648bb82d560a6ad5b1d1d142b73914b33d4b1d2
|
|
4
|
+
data.tar.gz: 965e64d692e4856c468735a7624c173d22c7901adc9ee2f569c98918a09b9302
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de3c225a2d69ae2c8f7ee666e45e444e2a7c77e3d2e1660103476facebf2d3577215ffab57042ee657948a266b12f840b082e1812e277746a9a9d648a340ed1d
|
|
7
|
+
data.tar.gz: f54518af552bdc448fd080f2169d75b9e27e21f3d75018fe2a004c71d41a2a496dfb2630a25697d70e563d337f1a9c99ac3803725f7647486a2b18a3ab011562
|
data/README.md
CHANGED
|
@@ -108,6 +108,15 @@ class WhittakerTech::Midas::Engine < Rails::Engine
|
|
|
108
108
|
config.eager_load_paths += Dir["#{config.root}/app/models"]
|
|
109
109
|
|
|
110
110
|
initializer 'midas.helpers' do
|
|
111
|
+
# Explicit require rather than relying on Zeitwerk autoload resolution
|
|
112
|
+
# here: ActiveSupport.on_load(:action_view) fires immediately (not
|
|
113
|
+
# deferred) whenever ActionView::Base is already loaded by the time this
|
|
114
|
+
# initializer runs, which on Rails 8 hosts happens before this engine's
|
|
115
|
+
# own autoload paths are guaranteed ready -- raising a NameError on boot
|
|
116
|
+
# for WhittakerTech::Midas::FormHelper. Requiring the file directly
|
|
117
|
+
# sidesteps the race entirely.
|
|
118
|
+
require_relative '../../../app/helpers/whittaker_tech/midas/form_helper'
|
|
119
|
+
|
|
111
120
|
ActiveSupport.on_load(:action_view) do
|
|
112
121
|
include WhittakerTech::Midas::FormHelper
|
|
113
122
|
end
|