concord-consortium/rigse

View on GitHub
rails/lib/publishable.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method included has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.included(clazz)
    ## add before_save hooks
    clazz.class_eval do

      @@protected_publication_states=[:published]
Severity: Minor
Found in rails/lib/publishable.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status