I need to remove hidden id field that is being generated for existing records by fields_for
method. Any idea how do do that?
From the docs:
f.fields_for(:comments, :include_id => false)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With