> As was suggested before, use logging to see what is actually happening. > When you're starting without a clue, log after every line to see where > things become different than what you expect.
I used logging to see what is actually happening. I found expensescounter_id comes nil which is not my requirement. expensescounter_id should have some value. Could you help me in this? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/efd5b04b8f6a591e3a635d5b81ad11a8%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

