Displaying 1 result from an estimated 1 matches for "two_letter_code".
2006 Apr 18
7
Functional test, pls help!!!!
...test just couldn''t seems to recognise this
statement and so i gives me error that i am using a nil object in the
view templates.
Here is the actual error given :
ActionView::TemplateError: You have a nil object when you didn''t expect
it!
The error occured while evaluating nil.two_letter_code
.
.
143: <input type="hidden" name="country" value="<%=
@coun tryinfo.two_letter_code
.
.
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in
`send''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_v...