能在同一個表格,Post兩個Model出去嗎?
nested attributes
check_box
checkbox
可以用 _destroy
Reference
Active Record Nested Attributes
ActionView::Helpers::FormHelper — check_box
ActionView::Helpers::FormHelper — fields_for
nested attributes
check_box
checkbox
可以用 _destroy
Active Record Nested Attributes
ActionView::Helpers::FormHelper — check_box
ActionView::Helpers::FormHelper — fields_for