removed connection_track model
This commit is contained in:
parent
97dd557854
commit
5e0004f854
|
|
@ -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
|
||||
Loading…
Reference in New Issue