fiedl/your_platform

View on GitHub
app/models/event.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Class Event has 34 methods (exceeds 20 allowed). Consider refactoring.
Open

class Event < ApplicationRecord

  validates :start_at, presence: true
  before_validation -> { self.start_at ||= self.created_at || Time.zone.now }

Severity: Minor
Found in app/models/event.rb - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status