We used to have this
# app/initializers/workos.rb
WorkOS.configure do |config|
config.api_key = Rails.application.credentials.workos_key
config.client_id = Rails.application.credentials.workos_client_id
end
After upgrading to v7 we started getting this error:
undefined method 'configure' for module WorkOS (NoMethodError)
Had to put require 'workos/configuration' at the top of the initializer which seems wrong.
We used to have this
After upgrading to v7 we started getting this error:
undefined method 'configure' for module WorkOS (NoMethodError)Had to put
require 'workos/configuration'at the top of the initializer which seems wrong.