UnionOfRAD/lithium — Issue #241: Model data collection to array (after PDO switch)
Author: djordje
Created: 2012-01-03 22:43:05+00:00
State: open

Hi, I have problem with model data collection to array conversion after switching to PDO.

This code works in revision **607c1e9a12** (Dec 18, 2011), but don't work in any revision after...

```PHP
$users = Users::all();
$users = Users::all(array('with' => 'Roles'));
$users = $users->to('array');
```