when starting the server with bin/dev, the root page (http://127.0.0.1:3000/) failed to load due to a Metamagic error
Error Message
RuntimeError in Pages#home
Showing /Users/niklasbabel/Documents/code/white_bnb/app/views/layouts/application.html.erb where line #4 raised:
Metamagic site not set. Please use `metamagic site: 'My Site'` to set it.
Cause
error occurred because Rails.application.credentials.company_name was not set or returning nil
Metamagic Error on Root Page
Description
when starting the server with
bin/dev
, the root page (http://127.0.0.1:3000/) failed to load due to a Metamagic errorError Message
Cause
error occurred because
Rails.application.credentials.company_name
was not set or returning nilSolution implemented
added a fallback value in
application.html.erb
:Questions
company_name
in credentials to fix?