هل يمكنني كمسؤول فرض هذا الخيار أيضًا؟ لأن العلامات (tags) جزء من تجربة المنتدى وبدونها سيفتقد بعض المستخدمين السياق الإضافي حول المواضيع. أنا حقًا أحب سمة Horizon الآن مع تفاصيل المواضيع الغنية ![]()
الجزء المتعلق بـ “المقتطفات” (Excerpts)، والذي يمكن تمكينه باستخدام: Enable with bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’ لا يبدو أنه يعمل بالنسبة لي.
/var/www/discourse# bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’
fatal: detected dubious ownership in repository at '/var/www/discourse'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www/discourse
/var/www/discourse/config/initializers/000-pg_connection_patch.rb:21:in `rescue in new_client': We could not find your database: discourse. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
To resolve this error:
- Did you not create the database, or did you delete it? To create the database, run:
bin/rails db:create
- Has the database name changed? Verify that config/database.yml contains the correct database name.
لا أريد العبث كثيرًا بهذا. أعتقد أنني سأتركه كما هو. ولكنني سأترك الخطأ هنا في حال كان إعدادي معطلاً أو يمكن إصلاح شيء ما في Discourse.