jonathangeiger / kohana-jelly

See the link below for the most up-to-date code
https://github.com/creatoro/jelly
MIT License
146 stars 34 forks source link

Jelly_Collection can not be initialized when using String $as_object #178

Open lmb opened 13 years ago

lmb commented 13 years ago

Example: Model_Test has been defined. Try to create a Jelly_Collection:

new Jelly_Collection(..., 'test')

This code will fail since $as_object is not passed through Jelly::class_name(). When new $as_object is called, an exception is raised.

P.S.: This happens on unstable