mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Rename notifications.body
to text
This commit is contained in:
parent
8765baf319
commit
dfff6f6d12
16 changed files with 30 additions and 22 deletions
|
@ -6,7 +6,7 @@ class Notification < ActiveRecord::Base
|
|||
|
||||
scope :queued, -> { where(queued: true) }
|
||||
|
||||
validates :body, presence: true
|
||||
validates :text, presence: true
|
||||
|
||||
def dequeue
|
||||
self.queued = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue