Sorry my mistake, by looking a bit deeper into it i found out that it
was a repository problem ;)

On May 28, 1:56 am, fbettag <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to