Hey guys, i've just tried the following in merb -i:
@entries = Customer.all @entries.to_json(:methods => [:positionCount, :billCount], :exclude => [:members]) it works as expected. when i do the same in my merb- controller, :positionCount and :billCount both are 0 on every entry. Any ideas what the issue might be? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
