Have these 2 tables in my db: Articles ( id, title, content, __#user_id ) Users ( id__, name, pwd)
And I did in my models: Articles:
public function initialize(){ $this->belongsTo("user_id", "Users", "id"); }
Users:
$this->hasMany("id", "Articles", "user_id");
When I do
$useArticles = $user->articles
I get : PhalconException:: Model 'Articles' could not be loaded