Peter

Joined

3,830 Experience
38 Lessons Completed
0 Questions Solved

Activity

if you are getting the error:

undefined local variable or method `form' for #<ActionView::Base:0x00000000024720>

make sure you don't include partial in the render (like you would with the navbar)

<%= render "shared/form_errors", form: form %>

this was it! thank you! I have made this mistake too many times to count

On Windows PowerShell

$env:EDITOR="code --wait"
rails credentials:edit --environment=development

Credit: https://stackoverflow.com/a/63611824/9970232