Xavier Noria

Results 118 comments of Xavier Noria

Let me expand a little bit. In principle we would not be really really interested in those specific YARD-like tags. The problem I have with those tags is that they...

Thanks for the suggestions @drbrain. Including types in prose is what we do now, but not systematically and most methods do not have it documented. In principle I'd like to...

@ioquatix Not really. In Zeitwerk I adopted my own convention (see `@sig` tags [here](https://github.com/fxn/zeitwerk/blob/main/lib/zeitwerk/loader.rb) for example). Current notation is based on [RBS](https://github.com/ruby/rbs/blob/master/docs/syntax.md)'s. I also have `@private` and `@raises`. That captures...

Given what has been found as being the root cause of this ([details](https://github.com/rails/rails/issues/36757#issuecomment-636450898)), I wonder if Wisper could black list `ActiveRecord::SchemaMigration` as a known AR model users are not really...

From the point of view of Active Record, `ActiveRecord::SchemaMigration` is a class mapped to a database table. The ORM is using itself. In that sense, it is not special. Active...

The problem seems to be that reloading and autoloading are happening at the same time. That should not happen and there's a RW lock in place that has been there...

@matthewd /cc'ing you, since you are the one with more knowledge about this synchronization.

This is the first time we find this. Applications reload in a multi-threaded environment routinely, so we don't know the cause without a way to reproduce. @matthewd and I suspect...

@mildred This is really weird. Does this happen if you launch the dev server using one single thread?

Ideally we should be able to reproduce. If you can't, do you see a pattern in the constants that are not found?