The problem I was having is params press_release was missing This is an attempt 
at adding it that draws a sytax error
<%= form_with model: @press_release, url: 
create_user_tour_press_release_path(press_release: { tour_id: @tour.id, 
artist_id: @artist.id, poster_type: 'User' }) do |f| %>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/7d949b7d-fb81-4482-ad56-3b0e39e60e1e%40googlegroups.com.

Reply via email to