app/models/redditor/video_block.rb in redditor-0.1.11 vs app/models/redditor/video_block.rb in redditor-0.1.12
- old
+ new
@@ -11,11 +11,11 @@
module Redditor
class VideoBlock < ActiveRecord::Base
self.table_name = "redditor_video_blocks"
- # attr_accessible :height, :page_id, :position, :width, :youtube, :temp_id
- attr_accessor :temp_id
+ # attr_accessible :height, :page_id, :position, :width, :youtube
+ attr_accessor :object_id
validates :youtube, :length => { :is => 11 }, :youtube => true
belongs_to :page, :class_name => "Redditor::Page"
\ No newline at end of file