Brent Beer
Joined
120 Experience
1 Lesson Completed
0 Questions Solved
Activity
As others have pointed out, https://discuss.rubyonrails.org/t/rails-6-1-remote-forms-are-no-longer-default/76912 is a point of discussion with the difference on Rails 6.1 vs 6.0 (which i was using )
Just set up and used https://github.com/comfy/active_link_to, you are awesome.
one trick that helped: setting active: :exclusive
so that my Home page did not stay active when on about (or every other page)
<%= active_link_to "Home", root_path, class: "nav-link", active: :exclusive %>