Rails uninitialized constant
In a Rails app, I'm getting this error from the view /tasks/index2:
uninitialized constant Taskstatu
But, my app doesn't even have Taskstatu in it. It does have a taskstatuses
table.
The view contains this line of code:
<td><%= task.taskstatus.statuscode %></td>
I'm not sure what else to show you. I can't understand where the constant
Taskstatu comes from??
Thanks for the help!
No comments:
Post a Comment