mchail/mongoid_flaggable

View on GitHub

Showing 1 of 1 total issue

Method flag_frequency has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            def flag_frequency
                aggregation = collection.aggregate([
                    {
                        '$match' => {
                            'flag_array' => {
Severity: Minor
Found in lib/mongoid_flaggable/class_methods.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language