paulreece

Results 34 comments of paulreece

Thanks for clarifying! We still need your repro script updated to reproduce the error if possible. I changed my local app to the setup as singular resource and I get...

So this is definitely intentional after researching it more. They changed the SQL statements here which suggests to me this is intentional: https://github.com/rails/rails/commit/6444ec0d307b4c0e599bb7b26dc29aa300097191 I'll see if I can find the...

@jvillarejo Nice detective work here!! After reading #43766 they did this so that Rails would still render forms even with a `nil` value for format. A maintainer will need to...

@matthewd thanks for clarifying about the intentionality of this bug. >@paulreece I don't see how that change is related, let alone implying intention? This was in reference to the methods...

>As @matthewd said. This is clearly a bug. The /author.1 is the wrong path for a single resource configuration. I will try to research polymorphic_url today. Yes, I thought I...

Thanks for your input. My PR doesn't use resources. I tested your use case and it works fine in my suggested fix linked in the above PR. ```Ruby Started PATCH...

So I was informed by Rafael that my implementation was not a viable solution. So anyone can feel free to open other PRs to fix this! I'll try again as...

I don't currently have a fix but another current workaround is to specify the `format` in your form: ```Ruby ```

Thanks. That was noted earlier in the issue as well.

So according to #41727 you're supposed to use `resolve` with singular resources: https://guides.rubyonrails.org/routing.html#singular-resources This means this isn't a bug and the convention now is for the user to provide the...