Sha256: 62ed9e450df5652ae94d83051ad142ed53aba2d00032f6892aff94adfa2e6af9

Contents?: true

Size: 256 Bytes

Versions: 3

Compression:

Stored size: 256 Bytes

Contents

# ActiveRecord model to store key/value pairs (though the
# columns are called name/value to avoid upsetting a Database for using a 
# keyword as column name)
#
class HasSetting::Setting < ActiveRecord::Base
  belongs_to(:owner, :polymorphic => true)  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simplificator-has_setting-0.1.1 lib/has_setting/setting.rb
simplificator-has_setting-0.1.2 lib/has_setting/setting.rb
simplificator-has_setting-0.2.0 lib/has_setting/setting.rb