Why is Turbo not honoring link_to method: :post?
Solution 1:
It seems to me that the Rails 7 docs have not been updated for Turbo and the missing UJS library. Even though the link_to documentation clearly states that link_to(..., ..., method: :post)
should work, it clearly does not.
Diving into Turbo's documentation, there is a section called Performing Visits With a Different Method where it says to use link_to ..., ..., data: { 'turbo-method' => :post }
, which DOES work.