Ben

Results 17 comments of Ben

Oh right that's strange. It's 6.2.0beta5 (Build 6296)

Ah ok, I didn't test with a get_entry, only with get_entry_list. No worries, thanks for following up.

I have submitted a case to sugar for them to fix this. We are a gold partner so they are going to take a look at this for us on...

Hi, I just thought I'd let you know that I've finally got a work around for this, until the sugar devs fix it. In data/SugarBean.php at around line 3037, the...

Ahh OK. I don't think they're interested though, it was one of the sugar officials who got back to me about this, so they know about it. Will assume that...

Actually that is a bad example. The above actually does work fast. Here is a better example: mysugar::Contacts.all do |contact| contact.accounts.each do |account| puts "account name is #{account.name}" end end...

Implementing that would be awesome :) I guess for the time being I could use the direct API method with get_entry_list...

Thanks for the reply. The eager loading should be ok.. if you do something like this: SugarCRM::Contacts.find(:all, :include => :accounts_contacts) do |c| c.each{|a| puts "account name is #{a.name}" end end...

Sorry for the poor formatting!

Actually maybe the bug is not related to issue #51, because note 51 says that it's only sugar 6.2 that had the problem, but this particular one is for version...