Displaying 1 result from an estimated 1 matches for "validkeyswrot".
Did you mean:
validkeyswrote
2008 Jul 23
3
Validation method vs. After Save & Rollback
Hey Guys,
Again, I am just learning Rails, so I am asking advice here.
I have a model called Company which has many Owners. The Owners model
indicates the name of the owner and their share (as a percentage) of
the company. The total shares for any one company can not be more than
100%.
So if I have 10 owners each with 10% of the company and I update one
of the owners and set their share to 11%,