@activities = PublicActivity::Activity.order("created_at desc").where(owner_id: current_user.all_follows, owner_type: "User")
this line of code returns an empty @activities object, my models are set up ok, PublicActivity::Activity.all returns all publicity, regardless of follows, the current_user is following one model with posts, I don't know why none of the posts are present in the object
--
You received this message because you are subscribed to the Google Groups "Public Activity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to public-activi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.