зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-06 11:45:51 +03:00
test: update test suite config
Этот коммит содержится в:
@@ -3,11 +3,19 @@
|
||||
class Profile < ApplicationRecord
|
||||
belongs_to :author, inverse_of: :profile, touch: true
|
||||
|
||||
def to_s
|
||||
description
|
||||
end
|
||||
# has_rich_text :description
|
||||
|
||||
def self.ransackable_attributes(auth_object = nil)
|
||||
%w[author_id created_at description id updated_at]
|
||||
# def to_s
|
||||
# description
|
||||
# end
|
||||
|
||||
class << self
|
||||
def ransackable_associations(auth_object = nil)
|
||||
%w[author]
|
||||
end
|
||||
|
||||
def ransackable_attributes(_auth_object = nil)
|
||||
%w[author_id created_at description id updated_at]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Ссылка в новой задаче
Block a user