You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function publishedStatus()
{
return $this->hasOne('PublishedStatus', 'id', 'published_status_id');
}
But it fails, because it is looking for published_status with method_exists. It should be looking for publishedStatus (from the point of view that relationships should be defined with camel case I believe). I wrapped camel_Case around the str_replace on line 102, and it seems to work fine.
The text was updated successfully, but these errors were encountered:
Let's say I have a model with the following revision rules:
On the model, I would also have:
The text was updated successfully, but these errors were encountered: