cobudget/cobudget-api

View on GitHub
app/models/bucket.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Class Bucket has 30 methods (exceeds 20 allowed). Consider refactoring.
Open

class Bucket < ActiveRecord::Base
  after_create :add_account_after_create
  has_many :contributions, -> { order("amount DESC") }, dependent: :destroy
  has_many :comments, dependent: :destroy
  belongs_to :group
Severity: Minor
Found in app/models/bucket.rb - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status