This is one of those bugs that drives a person crazy, but it's
probably something simple that I'm missing (as newb to rails dev).
Here's my problem. I have the following controller.
@document = Document.new
@document.title = 'my test title'
Then in the view (new.rhtml) I have
<%= @document.title >
This gives me the NoMethod Error in Document nil Object when I didn't
expect it error.
It doesn't get much simpler than this, right? Why would this fail.
It's making me crazy.