kohana/orm — pull request #45 by hkdobrev (2011-11-16 10:08:47+00:00)
Title: Fix for empty primary keys in create method

The create method will check if the primary key is set, but will not check whether it is empty. The ORM should not allow empty primary keys. I have added a check against empty primary key.