Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

hidden_fieldのvalueの値にidを設定したい

Q&A

hidden_fieldのvalueの値にidを設定したい

<%= f.hidden_field :cook_id,name:"umarepo[cook_id]",:value => @cook.id %>

保存が出来ない(value)

0

1Answer

Your answer might help someone💌