From 5e0004f854d52ed56e1cf1776ec64bf752bbb9fe Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sun, 16 Dec 2012 08:28:07 -0500 Subject: [PATCH] removed connection_track model --- lib/jam_ruby/models/connection_track.rb | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 lib/jam_ruby/models/connection_track.rb diff --git a/lib/jam_ruby/models/connection_track.rb b/lib/jam_ruby/models/connection_track.rb deleted file mode 100644 index 303d1534c..000000000 --- a/lib/jam_ruby/models/connection_track.rb +++ /dev/null @@ -1,15 +0,0 @@ -module JamRuby - class ConnectionTrack < ActiveRecord::Base - - self.table_name = "connections_tracks" - - self.primary_key = 'id' - - SOUND = %w(mono stereo) - - belongs_to :connection, :class_name => "JamRuby::Connection", :inverse_of => :connection_tracks - belongs_to :instrument, :class_name => "JamRuby::Instrument", :inverse_of => :connection_tracks - - validates :sound, :inclusion => {:in => SOUND} - end -end \ No newline at end of file