mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Basic poll implementation
This commit is contained in:
parent
c0edfd4b5b
commit
6888cd15a4
13 changed files with 82 additions and 21 deletions
|
@ -1,3 +1,7 @@
|
|||
class Message < ActiveRecord::Base
|
||||
belongs_to :registrar
|
||||
|
||||
before_create -> { self.queued = true }
|
||||
|
||||
scope :queued, -> { where(queued: true) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue