dk

Joined

1,500 Experience
14 Lessons Completed
0 Questions Solved

Activity

Posted in gem_group in application template

Is there a a way to use

gem_group :development do 
      ... 
end
gem_group :development, :test do 
      ... 
end

in application template file without duplicating those groups in Gemfile after generating a new rails app?

Just like in the title, is using js.erb a bad practice? What are the best alternatives to manipulate the DOM?
I am trying to understand when to use each approach correctly, like stimulus or turbo streams etc.