Sha256: 24f2cf9e459e77fa38d8045f931f7aed544ee230eef79098f8548ebbdc633902
Contents?: true
Size: 328 Bytes
Versions: 4
Compression:
Stored size: 328 Bytes
Contents
class TrayPosition < ActiveRecord::Base belongs_to :asset, :include => :content belongs_to :user belongs_to :clipboard, :polymorphic => true validates_associated :asset, :clipboard validates_presence_of :position #validates_uniqueness_of :asset_id, :scope => [:user_id], :message => "Asset is already on tray!" end
Version data entries
4 entries across 4 versions & 1 rubygems