Sha256: 10725000673fb428623804243093af3586c0dcc3d185c15bf575dd225002e50d
Contents?: true
Size: 353 Bytes
Versions: 3
Compression:
Stored size: 353 Bytes
Contents
module Redditor class VideoBlock < ActiveRecord::Base self.table_name = "redditor_video_blocks" attr_accessor :object_id validates :youtube, length: { is: 11 }, youtube: true belongs_to :page, class_name: "::Redditor::Page", touch: true def self.model_name ActiveModel::Name.new(self, nil, 'VideoBlock') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
redditor-0.1.17 | app/models/redditor/video_block.rb |
redditor-0.1.16 | app/models/redditor/video_block.rb |
redditor-0.1.15 | app/models/redditor/video_block.rb |