Replace all occurrences of ActiveRecord::Base with ApplicationRecord

This commit is contained in:
Angel Perez
2018-05-03 11:27:48 -04:00
committed by Julian Herrero
parent 7ab602175a
commit 01c1ac2b10
18 changed files with 18 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
class Poll::Question::Answer::Video < ActiveRecord::Base
class Poll::Question::Answer::Video < ApplicationRecord
belongs_to :answer, class_name: "Poll::Question::Answer", foreign_key: "answer_id"
VIMEO_REGEX = /vimeo.*(staffpicks\/|channels\/|videos\/|video\/|\/)([^#\&\?]*).*/