NoMethodError in TaskController#mark_complete
|
|
Just added the mark_complete method to the task controller and get this error message every time. Here is the snippet: def mark_complete
if @task.complete.nil?
@task.complete = Time.now < It must be something syntactical. Any ideas? |
|
|
fixed. never mind. except i notice that when I mark a task as complete, I need to click the browser refresh button to strike it and move it to the bottom. I also notice in the console that the complete variable is always null. |
|
|
Adding link to an Rails 2.3.5 version of the Monkey Tasks project – you might want to check it’s source out and compare it against yours. |