Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

One to many

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) ?


Sign In or Register to comment.