Closed davidsulc closed 13 years ago
David,
Sorry for the delay on this. At my wife's parents house for xmas and they haven't had internet. I should be committing this tonight.
-Charles
David,
Thanks again for the pull request. You inspired me to do some major refactoring, and implement an AssociationCollection class. So you can do things like:
a = SugarCRM::Account.find_by_name("JAB Funds Ltd.") c = SugarCRM::Contact.new c.last_name = 'Doe' a.contacts << c a.save a.contacts.delete(c) a.save
I'm pretty happy with it overall, and I hope you are too! Let me know if you can think of any other features you'd like to see, and keep those pull requests coming!
-Charles
add dynamic methods to allow easy linking for certain modules, e.g.
my_account.add_contact(my_contact)
where my_account is an instance of SugarCRM::Account and contact is an instance of SugarCRM::Contact