* removing first_recording_at method and allowing server_id to be modified

This commit is contained in:
Seth Call 2014-01-30 20:43:35 -06:00
parent f1a8c1b744
commit b4b120aa3b
1 changed files with 3 additions and 2 deletions

View File

@ -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