make_flaggable icon indicating copy to clipboard operation
make_flaggable copied to clipboard

find all flaggings?

Open sabernar opened this issue 12 years ago • 2 comments

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

sabernar avatar Dec 27 '12 21:12 sabernar

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

jkamenik avatar Jan 28 '13 16:01 jkamenik

type is really flaggable_type

jkamenik avatar Jan 28 '13 16:01 jkamenik