Displaying 1 result from an estimated 1 matches for "adds_count".
Did you mean:
addr_count
2007 Dec 07
0
Associations counting
...save a new Item, I want to create a new Add for this, with the proper (loged in) User:
@item.adds.create :user => @current_user
In the view, the number of items is displayed currectly, but in the database it is shown as 0, if I looking at the items table; at the same time the table users show: adds_count = 1, or the currect number of adds.
Why? How can I fix it?
Ranieri Teixeira
---------------------------------
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are su...