Xavier Noria
Xavier Noria
The documentation about [Bundler and Git](https://bundler.io/guides/git.html) says this: > If there is no .gemspec at the root of a git repository, you must specify a version that bundler should use...
### The problem The `belongs_to` association builder has this logic ([here](https://github.com/rails/rails/blob/0ac3fba6ee5f7d1680024a4925eee6069095487b/activerecord/lib/active_record/associations/builder/belongs_to.rb#L40-L42)): ```ruby klass = reflection.class_name.safe_constantize klass._counter_cache_columns |= [cache_column] if klass && klass.respond_to?(:_counter_cache_columns) model.counter_cached_association_names |= [reflection.name] ``` As we can see,...
The return type in the current`sig` for `Thread#backtrace` is ```ruby T::Array[T.untyped] ``` but as the Ruby API [documents](https://docs.ruby-lang.org/en/3.4/Thread.html#method-i-backtrace), you can get a `nil` back too. Example: ``` > t =...