undefined method `comments' for #<Post:0x19f3d70>
I'm just started to learn RoR and kind of stuck here. I was doing one of the guides here. I'm totally don't know how to debug Rails applications yet, so your advices are highly appreciated. Or probably you have came across this error before.
How do I debug this? where should I look at?
You probably miss a has_many :comments in your Post class.
Now you may accept it :)
If you are working with rails 3.2.1 add :comments to attr_accessible
attr_accessible :text, :title, :comments