Closed Rappole4 closed 7 years ago
NameError in Journeys#show
<%= notice %>
Start:<%= journey.start_address %>
End:<%= journey.end_address %>
<%= link_to 'Edit', edit_journey_path(@journey) %> |
Issue related to strict parameters not referencing the wrong name for the start_address and end_address. This was causing the controller to strip out the submitted values and not save them.
start_address
end_address
NameError in Journeys#show
<%= notice %>
Start:<%= journey.start_address %>
End:<%= journey.end_address %>
<%= link_to 'Edit', edit_journey_path(@journey) %> |