Jean Boussier

Results 529 comments of Jean Boussier

> but we don't want to load Active Record on application boot. Then: ```ruby ActiveSupport.on_load(:active_record) do config.to_prepare do # .... end end ``` Or am I missing something?

@knu any more opinions on this? It would be really nice if `digest` came with a few more popular algorithms (I'm thinking CRC32). Because yes it can be extended with...

Thank you! I'll come up with some PRs after RubyKaigi

> One approach might be to have the framework allocate a dynamic controller class per action, Interesting idea. Creating classes at runtime isn't ideal either though, so it probably would...

> Wouldn't it be better that json gem is updated to use `rb_ary_freeze()` etc. appropriately? The issue is that in many case, and in the case of `json`, `OBJ_FREEZE` is...

In other words, what many of these extensions are trying to do, is just to call `freeze` on an object, so they kinda expect polymorphism in a way, which this...

Marginalia is deprecated in favor of https://api.rubyonrails.org/classes/ActiveRecord/QueryLogs.html, I don't see much point making it compatible with Rails 8.0.

I wonder if this should be considered breaking enough to warrant a framework default and a deprecation. Which is debatable because this is solving a bug, but prior you'd get...

Uh, just realized this fell through the cracks, I'll try to rebase it.