Understanding how accepts_nested_attributes_for
works
accepts_nested_attributes_for
worksIt’s one thing to know how to use accepts_nested_attributes_for
; it’s another to understand how it works in the Rails codebase. In this post, we will dive into the Rails codebase to de-magic-ify this Rails method.