Ruby on Rails
Friday, December 13, 2019
In this form created by the scaffold generator all the field names are prepended with the table_name plus underscore What causes this to happen in rails 5.1.7
<div class="field">
<%= form.label :start_date %>
<%= form.datetime_select :start_date, id: :auction_listing_start_date %>
</div>
<%= form.label :start_date %>
<%= form.datetime_select :start_date, id: :auction_listing_start_date %>
</div>
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fbfd3bee-54c0-4b31-be3b-c01df762d891%40googlegroups.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment