find all flaggings? #6

sabernar opened this Issue Dec 27, 2012 · 2 comments


None yet
2 participants

How do I find all Articles that are flagged? Is there something like an Articles.flagged call?

Hackish, but the best way I found is MakeFlaggable::Flagging.where(:type => 'Article').all

type is really flaggable_type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment