Showing 1 of 3 total issues
Class Presentation
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
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' }