Sha256: fa1c02e46219205a767e096918240d44ac64cd80b8ad894c4a580333d01a6834

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

module Raddar
  class Notification < ActiveRecord::Base
    belongs_to :user
    belongs_to :notifiable, polymorphic: true

    validates :token, presence: true
    validates :user_id, presence: true
    validates :notifiable_id, presence: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
raddar-0.0.1.pre app/models/raddar/notification.rb