Closed pedrofmj closed 4 years ago
Thanks @pedrofmj. Can you please add tests for this?
Thanks @pedrofmj. Can you please add tests for this?
Sure. I'm adding the test case right now.
Thanks @pedrofmj. Can you please add tests for this?
Sure. I'm adding the test case right now.
Done!
Released in 2.0.5. Thanks :)
Support for method associate($model) in BelongsTo Relationships. Before this fix, when we tried to call associate in a belongsTo, it was calling the original associate($model) from Illuminate\Database\Eloquent\Relations\BelongsTo, what was causing errors.