Dmitry Polushkin
Dmitry Polushkin
This might be complex on computation, as it requires run logic on each key located inside the namespace. Are you using `Fallbacks` module for your backend or is it `Simple`...
Good point where `I18n` could be optimized.
@ragesoss have you checked: https://github.com/svenfuchs/rails-i18n ?
Probably it's a good idea to add/move them to `i18n` gem, but in that case all those features should be lazy loaded.
For the feature-wide support of CLDR formatting and localization check out also a twitter gem: https://github.com/twitter/twitter-cldr-rb
@BassamAziz absolutely possible, you have to read the ActiveStorage model code here: https://github.com/rails/rails/tree/master/activestorage/app/models/active_storage Basically, it's something like: ```ruby ActiveStorage::Attachment.audited ```
@garyfoster yes, I guess this is the best practice doing that. Created something like `audited.rb` and put it into the initializers and add this code. I suggest to use `shrine`...
I suggest to use battle-tested `Rack::Utils.parse_cookies_header`
@jnunemaker I'd say we could add a few lines about `rack` utility cookies methods: Add values to the cookie: https://github.com/rack/rack/blob/4faf2c4e46cac2038feab722609ddaa983a54c2f/lib/rack/utils.rb#L218 Parse cookies: https://github.com/rack/rack/blob/4faf2c4e46cac2038feab722609ddaa983a54c2f/lib/rack/utils.rb#L207
Might help you: https://github.com/TrestleAdmin/trestle-auth/issues/21 https://github.com/TrestleAdmin/trestle/issues/45 No real support at the moment, but it's planned.