bergenrb/bergenrb

View on GitHub

Showing 1 of 3 total issues

Class Presentation has 29 methods (exceeds 20 allowed). Consider refactoring.
Open

class Presentation < ActiveRecord::Base
  has_friendly_id :title, :use_slug => true

  validates :title, :description, :presented_at, :presenter_names, :presence => true
  validates :slides_url, :video_url, :meetup_url, :format => { :with => /^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$/i, :allow_blank => true, :message => 'invalid URL' }
Severity: Minor
Found in app/models/presentation.rb - About 3 hrs to fix
    Severity
    Category
    Status
    Source
    Language