11 lines
238 B
Ruby
11 lines
238 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
# Un registro de cualquier cosa, nos sirve para debuguear
|
||
|
# selectivamente.
|
||
|
class LogEntry < ApplicationRecord
|
||
|
belongs_to :site
|
||
|
serialize :text, JSON
|
||
|
|
||
|
default_scope -> { order(created_at: :desc) }
|
||
|
end
|