Sha256: 0c79deb04882dc3025a289f8bd8d94faf0b83d01c7ab81ae1fb5263827d6e21d
Contents?: true
Size: 480 Bytes
Versions: 3
Compression:
Stored size: 480 Bytes
Contents
class TerminalProfileProviderGroup < ActiveRecord::Base self.table_name = 'term_prof_provider_groups' mount_uploader :icon, IconUploader belongs_to :provider_group belongs_to :terminal_profile, :inverse_of => :terminal_profile_provider_groups validates :provider_group_id, :uniqueness => {:scope => :terminal_profile_id} validates :provider_group, :presence => true validates :terminal_profile, :presence => true delegate :title, :to => :terminal_profile end
Version data entries
3 entries across 3 versions & 1 rubygems