Thredded::TopicPolicy#destroy?, e.g. like this:
# config/initializers/thredded.rb module AllowUsersToDeleteOwnTopics def destroy? super || @topic.user_id == @user.id end end Rails.application.config.to_prepare do Thredded::TopicPolicy.prepend AllowUsersToDeleteOwnTopics end
order_sticky_firstscope in the initializer (https://github.com/thredded/thredded/blob/master/app/models/thredded/topic.rb#L16)
thredded_create_app, since it's failing here: https://github.com/thredded/thredded_create_app/blob/4f4e4b73e6a26a74e880da25bf0c14eb5455742d/lib/thredded_create_app/tasks/add_invisible_captcha.rb#L34 (I think)
devise_error_messages!to a partial)
This is a weird one, but I've been having a bunch of users (and now I'm starting to see it myself) complain that entire threads are showing up as just the same comment repeated. I saw it once when I loaded a thread initially and all the comments' text were just the third comment's text repeated, and I saw it once when I responded to a thread and then suddenly all the comments turned into another comment's text.
Seems to go away when I refresh and only happens rarely, but I don't think I know the piping well enough to even guess at what might be going on and/or how to gather better info before opening an issue for it. Here's some users complaining about it (ignore 2nd comment, I think that's just user-error) for more info/context: https://www.notebook.ai/forum/site-support/uncomfortable-glitch-lmao