I inserted a new column in my table contents
and also includes the field in the form with the same column name in the (client_id)
creation table, but this data is not entered when I create a new record.
I already added symbol
to the controller;
params.require(:content).permit(:title, :content, :client_alteration, :target, :scheduled_to, :status, :comment, :client_id)
HTML
<div class="field">
<%= f.label 'Cliente' %>
<%= select_tag 'client_id', options_from_collection_for_select(@clients, 'id', 'name') %>