Displaying 2 results from an estimated 2 matches for "shreekar".
2006 Apr 24
0
Called id for nil, which would mistakenly be 4 -- if you really wanted the idof nil, use object_id - solved
...ed recipes (plural) in
controller file to recipe (singular). That teaches me to pay *real*
attention to casing. (forgive me, I am from the VS and VB world :-)
>Actually, the error is telling you that recipe itself is nil, not
recipe.id
-- Tom Mornini
Tom: Thanks... I see my error now.
Regards
Shreekar Joshi
Hi Shreekar,
Shreekar Joshi wrote:
<snip>
> I have encountered following error:
> Called id for nil, which would mistakenly be 4 -- if you really wanted
> the id of nil, use object_id
>
> I have come to this page from edit link from the show page. This show
> pa...
2006 Apr 21
3
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
...endencies.rb:147:in `require''
script/server:3
Request
Parameters: {"id"=>"1"}
Show session dump
---
flash: !ruby/hash:ActionController::Flash::FlashHash {}
Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
Regards,
Shreekar Joshi