j4mie/paris — pull request #83 by pine3ree (2014-02-20 03:34:11+00:00)
Title: $orm assignment moved into the constructor as a dependency

Hello Jamie,

as a Model always need an idiorm instance to function properly, i think it could be a good idea to have a dependency in the constructor, so that you cannot instantiate a model by yourself without passing an ORM object into it.

Pleas take a look (and check) at this PR to see if it can be useful.

kind regards,
maks