twitter/activerecord-reputation-system

View on GitHub
lib/generators/reputation_system/templates/create_reputation_system.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method up has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.up
    create_table :rs_evaluations do |t|
      t.string      :reputation_name
      t.references  :source, :polymorphic => true
      t.references  :target, :polymorphic => true

    There are no issues that match your filters.

    Category
    Status