microscopic-ocean-99165
06/30/2022, 3:23 PMgreen-london-56146
06/30/2022, 3:23 PMmicroscopic-ocean-99165
06/30/2022, 3:24 PMmicroscopic-ocean-99165
06/30/2022, 3:24 PMgreen-london-56146
06/30/2022, 3:29 PMapp/models/user.rb
and remove the lines related to validation on field first_name
and last_name
green-london-56146
06/30/2022, 3:31 PM<div class="field">
<%= f.label :first_name %><br />
<%= f.text_field :first_name, autofocus: true %>
</div>
<div class="field">
<%= f.label :last_name %><br />
<%= f.text_field :last_name, autofocus: true %>
</div>
green-london-56146
06/30/2022, 3:32 PMlemon-wall-20836
06/30/2022, 5:33 PMlemon-wall-20836
06/30/2022, 5:38 PMbright-tomato-27372
07/01/2022, 5:38 PMhas_many
association on a model, but it is usually only 1-2 associations. I don't need it to show the "8 per page" or "Displaying 2 items".strong-restaurant-36788
07/01/2022, 7:36 PMdisable_*
options seem new, so maybe it's related to that?strong-restaurant-36788
07/01/2022, 7:36 PMstrong-restaurant-36788
07/01/2022, 7:36 PMlemon-wall-20836
07/01/2022, 7:43 PMgreat-optician-87198
07/05/2022, 12:44 PMworried-machine-9922
07/06/2022, 6:28 PMclass Item
belongs_to :option_group
has_many :options, through: :option_group
With a resource a bit like
class ItemResource
field :options, as: :has_many
In a situation where I create a new option from Item#show I would expect the Option#new page to have pre-selected the OptionGroup that the Item will be related to the Option through, but it is not.
Y'all got thoughts?worried-machine-9922
07/06/2022, 6:38 PMlemon-wall-20836
07/06/2022, 9:53 PMacoustic-jackal-82257
07/07/2022, 3:04 PMdry-evening-71367
07/07/2022, 3:05 PMgreen-london-56146
07/07/2022, 3:08 PMlemon-wall-20836
07/07/2022, 3:21 PMlemon-wall-20836
07/07/2022, 3:21 PMlemon-wall-20836
07/07/2022, 3:28 PMlemon-wall-20836
07/07/2022, 3:28 PMlemon-wall-20836
07/07/2022, 3:29 PMbest-microphone-15927
07/07/2022, 3:30 PMlemon-wall-20836
07/07/2022, 3:31 PMlemon-wall-20836
07/07/2022, 3:33 PMlemon-wall-20836
07/07/2022, 3:33 PM