I'm filtering on a model but a filed like created_at appears in many of my models so this is causing an error whereby created_at is ambiguous. I believe this occurs because I am running pimp() on a relation instead on the model itself. How can I fix this?
$user->transactions()->pimp()
I'm filtering on a model but a filed like created_at appears in many of my models so this is causing an error whereby created_at is ambiguous. I believe this occurs because I am running
pimp()on a relation instead on the model itself. How can I fix this?$user->transactions()->pimp()