Tero Tilus wrote:
Line 192 contains neither a stray nil nor a method 'macro'.
So what exactly _is_ there? Do you know that particular line causes
(or noes not cause) the error?
Test::Unit::TestCase said the error was ~20 layers deeper - but exactly below
the same to_xml() call as RSpec indicated. RSpec threw the stack trace away.
Please please please focus: Nobody is asking how to debug, or how to call
to_xml() correctly. (The problem turned out to be :include => :authors instead
of :include => :author, where the belongs_to used :author singular. Big deal!)
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users