Sha256: ee1eb40c9e6cd010ee521d7fc677be88ef2f6acbf6ffba1371a2ef35902a06ed

Contents?: true

Size: 355 Bytes

Versions: 11

Compression:

Stored size: 355 Bytes

Contents

class NotificationSettings::Setting < ActiveRecord::Base

    self.table_name = 'notification_settings_settings'

    include NotificationSettings::SettingLibrary

    serialize :settings, Hash
    serialize :category_settings, Hash

    belongs_to :object, polymorphic: true, optional: true
    belongs_to :subscription, optional: true

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
notification-settings-1.2.5 app/models/notification_settings/setting.rb
notification-settings-1.2.4 app/models/notification_settings/setting.rb
notification-settings-1.2.3 app/models/notification_settings/setting.rb
notification-settings-1.2.2 app/models/notification_settings/setting.rb
notification-settings-1.2.1 app/models/notification_settings/setting.rb
notification-settings-1.2.0 app/models/notification_settings/setting.rb
notification-settings-1.1.2 app/models/notification_settings/setting.rb
notification-settings-1.1.1 app/models/notification_settings/setting.rb
notification-settings-1.1.0 app/models/notification_settings/setting.rb
notification-settings-1.0.0 app/models/notification_settings/setting.rb
notification-settings-1.0.0.beta11 app/models/notification_settings/setting.rb