That would probably work great outside of the component. I'm looking for a solution that would work inside the component so that anybody who uses the component doesn't have to put an ugly piece of hackery in front or in side of my component. Good enough for me, but I'm hoping to get Tom to pick up the component so everybody can use it.
thanks, Bryan On Mar 2, 6:27 pm, kevinpfromnm <[email protected]> wrote: > For your nil object problem, can you use ruby's OR shortcut behavior > for it? If this.patient is nil, it will then evaluate the > Patient.new. > > this.patient || Patient.new > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
