Posts by Thomaz Wanderbruck Schmidt • 1 point
2 posts
-
0
votes2
answers241
viewsA: How I present the data that is in the other table in the view. Rails 5
Here’s my form with fields_for <%= form_with(model: patient, local: true) do |form| %> <% if patient.errors.any? %> <div id="error_explanation"> <h2><%=…
ruby-on-railsanswered Thomaz Wanderbruck Schmidt 1 -
-2
votes2
answers241
viewsQ: How I present the data that is in the other table in the view. Rails 5
I have a form that has fields from two different tables Patients table and Addresses table. However I did a search field to just search a patient(Patient) and return his data, until the fields of…