Edouard CHIN

Results 22 comments of Edouard CHIN

Thanks @iamradioactive , I see now. The problem is because the association on the `belongs_to` side can't find the inverse of the other relation. It's a known bug reported in...

> Had to put also this code `ActiveRecord::Base.has_many_inversing = true`, cause is not set default true as the comment explains for Rails 6+ Maybe your application hasn't called `config.load_defaults(6.0)` (where...

Closing since #50284 resolved the issue. Thank you for reporting it ❤️ !

You can create a `~/.irbrc` file and customize irb as you wish here. You can use something like this: ```ruby if ENV["RAILS_ENV"] IRB.conf[:PROMPT][:RAILS] = IRB.conf[:PROMPT][:DEFAULT].clone IRB.conf[:PROMPT][:RAILS][:PROMPT_I] = "%N(rails):%03n> " IRB.conf[:PROMPT_MODE]...

Oops, looks like I closed this too early and there is more to it, sorry! I don't have much opinion on the topic. > You don't want "development:001>" and "production:001>"....

> Thank you for the review and merge @byroot! I hadn't had an opportunity to add coverage to ensure that this change closes [#50782 (comment)](https://github.com/rails/rails/issues/50782#issuecomment-1899009267). Are you able to verify...

Thanks 👍 . Someone from the core team will have a look and merge when they get a chance.

Thank you for the investigation! > [...] otherwise, it triggers a rollback. Worth to mention that it's doesn't trigger a rollback (altough a `AR::Rollback` error is raised). This is because...

Is this new callback supposed to wrap the entire test run or just the `setup` part? In your example ```ruby around do |_, test_case| Client.with(stubbed: true) { test_case.call } end...