Datamapper object to_array() - including related objects |
[eluser]Unknown[/eluser]
Hello, When you include a related object as a field in the parameters the related object is returned as an array of its id's. This is the intended behaviour of datamapper, however is it possible to instead output the full object? Thanks, Jonathan |
Welcome Guest, Not a member yet? Register Sign In |