From b4b120aa3be5a7785f6bf1af76af5bad2f7e2d41 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Thu, 30 Jan 2014 20:43:35 -0600 Subject: [PATCH] * removing first_recording_at method and allowing server_id to be modified --- ruby/lib/jam_ruby/models/icecast_server.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruby/lib/jam_ruby/models/icecast_server.rb b/ruby/lib/jam_ruby/models/icecast_server.rb index 588f4abea..e8fe4a7ed 100644 --- a/ruby/lib/jam_ruby/models/icecast_server.rb +++ b/ruby/lib/jam_ruby/models/icecast_server.rb @@ -3,8 +3,9 @@ module JamRuby attr_accessor :skip_config_changed_flag - attr_accessible :template_id, :mount_template_id, :limit_id, :admin_auth_id, :directory_id, :master_relay_id, :path_id, :logging_id, - :security_id, :config_changed, :config_updated_at, :hostname, :location, :admin_email, :fileserve, :icecast_server_group_id, as: :admin + attr_accessible :template_id, :mount_template_id, :limit_id, :admin_auth_id, :directory_id, :master_relay_id, + :path_id, :logging_id, :security_id, :config_changed, :config_updated_at, :hostname, :location, + :admin_email, :fileserve, :icecast_server_group_id, :server_id, as: :admin belongs_to :template, class_name: "JamRuby::IcecastTemplate", foreign_key: 'template_id', inverse_of: :servers