120 Experience
1 Lesson Completed
0 Questions Solved


Posted in Dynamic Nested Forms with Stimulus JS Discussion

I had issue to delete a persisted task on rails 6. I could make it work by adding a hidden_field to pass the :id of the task to delete. I don't know if it was the unique reason of my problem but if it can help :

<%- unless form.object.new_record? -%>
<%= form.hidden_field :id -%>
<%- end -%>

Posted in Docker Basics for Rails Discussion

Great episode! I already use Docker for local development and I love it. Are you planning to do an episode to explain how to deploy a dockerized rails application? It seems very obscure to me.

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.