dajwill / tourguide

0 stars 0 forks source link

Tour Controller method error #1

Open dajwill opened 9 years ago

dajwill commented 9 years ago

@chrisvfritz

I have just updated my Tour model to use the attribute address instead of location. Do you know why I am getting a noMethodError for an undefined method 'location' in my tour controller even I am not using location?

chrisvfritz commented 9 years ago

Could be this line. I'd do a search of your whole project (Ctrl+Shift+F in Windows) for the word "location" and you may also find other places you need to change.