Ellis B. wrote:
Yes but I ran into a roadblock. I set up habtm between actions and
teams and every time I added a hit I just would adjust the hit in the
As it turns out tree is a habtm between games and teams and it is all
getting very confusing very fast. I need something like team.sum
All in all I I’m lost in how to implemnt this.
I am not too clear with your problem, if you have coded it, would you
mind to show me? or email me to reinhart.showbiz ~[at]~ live.com. if i
am clear with your problem maybe i can help you to implement it. Please
choose another example that i can understand clearly. But I clear your
For example a page may have ten booleans a user can trigger on and off
(to undo). When the user clicks each one I want it to return the
number of times each boolean has been triggered on. So if the user
clicked the 7th one I want it to return 7 and if they undo one around
like 4 I want 7 to update to 6. Is this possible? Does this make sense?
simple code :
example the table OPTIONS has option boolean entities/columns that are
A, B, C, D, E, F, G, H, I, J., the secenario is like this :
 User click D, controller will asl to Model to save “D” into table
user example to column “clicked”. After it, Model option will be
commanded too, so table OPTIONS in column D is updated for new amount of
 But User changes his mind to choose G now. Controller will commend
User Model to update table User in column “clicked” to be G. Before
change it, Model Options must be run first to update column G by
increasing amount there and column D by decreasing amount there. How to
get D (Previous choosen from user) is from find or read Table User
first, before it will be updated to be G.
That;s it? or you have different thinking?