Hello i though we could have some one to many relationships
using "relationships_model"=>false
is that correct ?
public $has_many = array("videos"=>array('model'=>'videos_model'),"demos"=>array('model'=>'demos_model',"foreign_key"=>"realid","relationships_model"=>false)
all is fine
but when i save my record
it says An Error Was Encountered
Unable to locate the file: .php
I saw there might be a trouble with My_Model => function process_relationships($id)
maybe with a if (!empty($fields['relationships_model'])) {
should i fix this ? or am i wrong with my config ($has_many) ?
Comments