Этот коммит содержится в:
Mattia Roccoberton
2023-08-20 21:08:52 +02:00
родитель 7262ad5523
Коммит 2d0a8f961f
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