You have not shown us the code where you set expensescounter_id, or
the code that you expect that value to be set. You have shown us the
code where expenses_counter.id would be setup but presumably
expensescounter_id is an attribute of a different object.
I following Agile web development
On 5 August 2014 09:46, Jaimin Pandya li...@ruby-forum.com wrote:
You have not shown us the code where you set expensescounter_id, or
the code that you expect that value to be set. You have shown us the
code where expenses_counter.id would be setup but presumably
expensescounter_id is an
That code is just returning an object. It is not allocating a value
to @line_item.expensescounter.
Yes. When i click on Add to count button, i got expensescounter_id
comes nil. BUT it should have some value.
How could i do this?
--
Posted via http://www.ruby-forum.com/.
--
You received
By working out why it is nil. It is called debugging. Have a look
where you setup that value and if necessary put more logging in till
you see where the problem is.
I will find out why it is nil.
Thank you for your help.
Kind regards.
--
Posted via http://www.ruby-forum.com/.
--
You
4 matches
Mail list logo