Running under Rails 8.1.3.
When I try to configure authentication through credentials, it fails.
Example:
flightdeck:
username: jobs
password: jobs
The error stems from
|
source = source.call if source.respond_to?(:call) |
The credentials at
Rails.application.credentials.flightdeck is an instance of the class
ActiveSupport::OrderedOptions, which responds to
call but returns
nil.
Current workaround is to configure the initializer config/initializers/flightdeck.rb as
Flightdeck.configure do |config|
fd = Rails.application.credentials.flightdeck
config.http_basic = { username: fd.username, password: fd.password }
end
Running under Rails 8.1.3.
When I try to configure authentication through credentials, it fails.
Example:
The error stems from
solid_queue-flightdeck/lib/flightdeck/configuration.rb
Line 76 in 4945454
The credentials at
Rails.application.credentials.flightdeckis an instance of the classActiveSupport::OrderedOptions, which responds tocallbut returnsnil.Current workaround is to configure the initializer
config/initializers/flightdeck.rbas