mirror of
https://github.com/we-promise/sure.git
synced 2026-04-11 16:24:51 +00:00
* Remove plaid initialiser The initializer can be safely removed because: - Config is lazily loaded via Provider::Registry - reload_configuration is called after settings updates - All calling code handles nil configs gracefully - Initial nil state is fine - config loads on first use * Fix for missing config * Actually don't pollute application.rb * Add currency loading for balances * Fix race condition on lazy load * Allow loans to be imported in lunch flow also * Fix currency processor
8 lines
312 B
Ruby
8 lines
312 B
Ruby
# Plaid configuration attributes
|
|
# These are initialized to nil and loaded lazily on first access by Provider::Registry
|
|
# Configuration is loaded from database settings or ENV variables via the adapter's reload_configuration method
|
|
Rails.application.configure do
|
|
config.plaid = nil
|
|
config.plaid_eu = nil
|
|
end
|