#RubyOnRails - 28 December 2018
« Back 1 day Forward 1 day »
[02:00:54] CodeMouse92: has left #RubyOnRails: ("Oh freddled gruntbuggly | Thy micturations are to me | As plurdled gabbleblotchits | On a lurgid bee")
[15:35:50] Bchewy: I'm having some problems with understand form_with, as I am trying to make use of it to create a picture, which belongs to a single event (eg: 1 event has many pictures, and many pictures belong to 1 event). I've tried to make use of https://dpaste.de/i2YM, but it keeps on telling me this error: undefined method `event_pictures_path' for #<#<Class:0x00007ff8ff0013b0>:0x00007ff8f8c42680>
[15:36:08] Bchewy: I'm fairly new to rails, and followed the main guide on guides.rubyonrails.org to do this
[15:36:35] Bchewy: I'd greatly appreciate it if anyone could point me in the right direction, been looking into this for hours, Thank you very much!!
[16:07:10] Bchewy: I'm just confused with how you might use form_with to make a form for child relation (in this case a picture, since 1 event has many pictures)