Email or username:

Password:

Forgot your password?
Top-level
Efexor Zolpidem :v_com:

@dansup what was the line though 😲
the people* want to know

* me, basically.

4 comments
dansup

@capeta ```
- $actor->followers()->count() == 0
+ $actor->followers_count == 0
```

Efexor Zolpidem :v_com:

@dansup but you made some changes to prefetch the count, right? or memoize some, or some wizardry like that.

dansup

@capeta Yeah the $actor is a database model with a `followers_count` column, I haven't updated this code in a while so it never was updated to use that *newer* `followers_count` column

H.

@dansup @capeta oh man, this is like homework… now I have to go check my Laravel code 😞 so awesome though! It’s amazing the difference something so small can make!

Go Up