Re: [Rails] local variables in _form.html.erb undefined

2018-02-09 Thread fugee ohu
On Thursday, February 8, 2018 at 7:41:19 PM UTC-5, Walter Lee Davis wrote: > > Show the code where you are trying to render this form. A partial that > renders implicitly (like in a scaffolded CRUD form): > > #/app/views/posts/new.html.erb > <%= render 'form' %> > > ...will get a local

Re: [Rails] local variables in _form.html.erb undefined

2018-02-08 Thread Walter Lee Davis
Show the code where you are trying to render this form. A partial that renders implicitly (like in a scaffolded CRUD form): #/app/views/posts/new.html.erb <%= render 'form' %> ...will get a local variable named `post` in the render context. What does your controller look like, and what does