Merge branch 'master' of git.workaround.org:chaas/debshots
This commit is contained in:
commit
a56944038c
25 changed files with 302 additions and 542 deletions
|
|
@ -1,4 +1,4 @@
|
|||
require 'pry'
|
||||
# require 'pry'
|
||||
|
||||
class Log < ApplicationRecord
|
||||
validates :message, presence: true
|
||||
|
|
@ -26,6 +26,6 @@ class Log < ApplicationRecord
|
|||
log.token = token
|
||||
logger.error "Could not log to database - validation errors: #{log.errors.to_a}" unless log.valid?
|
||||
log.save
|
||||
log
|
||||
# log
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue