Sha256: ad8063c84c300813ff6230b3ce807693ff6a6a26630ea6fdac466ae91fbc6507
Contents?: true
Size: 416 Bytes
Versions: 12
Compression:
Stored size: 416 Bytes
Contents
# coding: utf-8 module Redditor class SliderBlock < ActiveRecord::Base self.table_name = "redditor_slider_blocks" # attr_accessible :page_id, :position, :temp_id attr_accessor :temp_id belongs_to :page, :class_name => "Redditor::Page" has_many :images, :as => :imageable, :dependent => :destroy def self.model_name ActiveModel::Name.new(self, nil, 'SliderBlock') end end end
Version data entries
12 entries across 12 versions & 1 rubygems