Leaving Harbor LogoLEAVING HARBOR

The Captain's Log

Tales of achievement, bewilderment, and a surly relationship with a computer.
Tagged with: forms
Editing a form using fields_for in Rails
January 18, 2016
  • Tags:
  • rails
  • forms
Let’s say you’d like to successfully create or update a nested form using fields_for. Our ‘parent’ will be a Post model and our ‘child’ will be a Tag model. It’s not hard, but there’s a bit of a gotcha that I found most other resources out there were leaving out....
© 2015-2025 Leaving Harbor.
Proudly powered by Jekyll