Sha256: b14ee04762e3aa6663e1a535094a0883baf5b5f8fd6e7a5f304bbb9d7591b84f

Contents?: true

Size: 811 Bytes

Versions: 5

Compression:

Stored size: 811 Bytes

Contents

# encoding: UTF-8

# Copyright 2011-2013 innoQ Deutschland GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NB: not to be used directly, but only through Iqvoc::InstanceConfiguration
class ConfigurationSetting < ActiveRecord::Base # TODO: make private, somehow?

  validates :key, :uniqueness => true

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
iqvoc-4.3.3 app/models/configuration_setting.rb
iqvoc-4.3.2 app/models/configuration_setting.rb
iqvoc-4.3.1 app/models/configuration_setting.rb
iqvoc-4.3.0 app/models/configuration_setting.rb
iqvoc-4.2.0 app/models/configuration_setting.rb