I am writing a new app and used an old app as kind of a reference on how to do things I am creating the new page and using the form_for
<% form_for(store) do |f| %>
<% end %>
def new
@store = Store.new
end
Above is my controller did it the same way I did in my last app and getting this error. I am getting this error that is puzzling me because it works on other applications I made.
undefined local variable or method `store' for #<#<Class:0x007fb26b3634c0>:0x007fb26a427ce0>
Did you mean? @store
I must be missing something conceptually.