Этот коммит содержится в:
Mattia Roccoberton
2023-08-20 21:08:52 +02:00
родитель cd7f259697
Коммит c1c2391cb8
8 изменённых файлов: 200 добавлений и 499 удалений

Просмотреть файл

@@ -23,4 +23,8 @@ class Author < ApplicationRecord
def to_s
"#{name} (#{age})"
end
def self.ransackable_attributes(auth_object = nil)
%w[age created_at email id name updated_at]
end
end