README.md in rails-settings-cached-2.7.1 vs README.md in rails-settings-cached-2.8.0
- old
+ new
@@ -281,9 +281,13 @@
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = Setting.mailer_options.deep_symbolize_keys
end
```
+TIP: You also can follow this file to rewrite ActionMailer's `mail` method for configuration Mail options from Setting after Rails booted.
+
+https://github.com/ruby-china/homeland/blob/main/app/mailers/application_mailer.rb#L19
+
## Caching flow:
```
Setting.host -> Check Cache -> Exist - Get value of key for cache -> Return
|