Okay, assuming a one to one relationship between product and license,
and assuming that you are in a product context such as the product
show page then <%= (this.qty - this.license.qty).to_s %> should do the
trick for you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---