I’m new to ruby on rails and I need some help with amending a view i
created using partials. I need to create a booking form that allows me
to enter a business name, address and category and i created three
different views, tables etc using scaffolding (I did this as I needed
separate tables for normalisation).
The problem is that I now have the form I need to capture the relevent
information but I cannot save the information in one go as there are
three different create buttons. I deleted the code for the buttons but
that does not help as I can only save one part of the form instead of
saving all the information on the form. I have added the relevant
relationships between the tables but I am not sure how I can save all
the information on the form. Apologises if I have not explained this
well, I wish there was a way to show you a screenshot of what i mean.