Skip to content

find all flaggings? #6

Open
Open

Description

@sabernar

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

Activity

  1. jkamenik commented on Jan 28, 2013

    @jkamenik

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

  2. jkamenik commented on Jan 28, 2013

    @jkamenik

    type is really flaggable_type

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions