mirror of
https://github.com/internetee/registry.git
synced 2025-05-22 04:09:52 +02:00
7 lines
151 B
Ruby
7 lines
151 B
Ruby
class Message < ActiveRecord::Base
|
|
belongs_to :registrar
|
|
|
|
before_create -> { self.queued = true }
|
|
|
|
scope :queued, -> { where(queued: true) }
|
|
end
|