10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98365c9 + a1c616f commit 6eaef51Copy full SHA for 6eaef51
CHANGELOG.md
@@ -4,6 +4,7 @@
4
5
### Bug Fixes
6
7
+* Fixed [#5093][] Handle table prefix & table suffix for `ActiveAdminComment` model
8
* Fixed [#4173][] by including the default Kaminari templates [#5069][] by [@javierjulio][]
9
* Fixed [#5043][]. Do not crash in sidebar rendering when a default scope is not
10
specified. [#5044] by [@Fivell][].
lib/active_admin/orm/active_record/comments/comment.rb
@@ -1,7 +1,7 @@
1
module ActiveAdmin
2
class Comment < ActiveRecord::Base
3
- self.table_name = 'active_admin_comments'
+ self.table_name = "#{table_name_prefix}active_admin_comments#{table_name_suffix}"
belongs_to :resource, polymorphic: true
belongs_to :author, polymorphic< 37AF /span>: true
0 commit comments