You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to add govuk-components to another rails service and came across this issue while trying to deploy the app to production. Everything seems to work and run correctly in development. I'm not sure if perhaps its a config setting in the rails app that is making the server fail when it starts up.
Interesting. I can recreate locally by changing config.load_defaults from 5.2 and 6.0 as you say in the referenced ticket.
It would appear that between the two versions of Rails, something has changed in the way helpers are loaded. There's more info here, I'll have a closer look over the next day or two.
Scratch the above, the helper module is called GovukComponentHelper (singular) and the file is govuk_components_helper.rb (plural), that's probably the cause. I'll fix it tomorrow.
I've been trying to add govuk-components to another rails service and came across this issue while trying to deploy the app to production. Everything seems to work and run correctly in development. I'm not sure if perhaps its a config setting in the rails app that is making the server fail when it starts up.
DFE-Digital/get-help-with-tech#466 (comment)
The text was updated successfully, but these errors were encountered: