mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:53:51 +08:00
70af45055a
If a model class calls preload_custom_fields twice then we have to clear this otherwise the fields are cached inside the already existing proxy and no new ones are added, so when we check for custom_fields[KEY] an error is likely to occur |
||
---|---|---|
.. | ||
category_hashtag_spec.rb | ||
has_custom_fields_spec.rb | ||
has_search_data_spec.rb | ||
positionable_spec.rb | ||
searchable_spec.rb | ||
second_factor_manager_spec.rb |