So I set out to build an app that is very similar to the Depot app to
build my experience. I added a lot of constant lists for the
pulldowns on the admin add product page. Then this error?
NoMethodError in Admin#new
Showing app/views/admin/_form.rhtml where line #9 raised:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.select
Extracted source (around line #9):
7: <p><label for="vehicle_newused">Newused</label><br/>
9: form.select :newused,
11: :prompt => "New or used vehicle?"
NEWUSED = [