mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:05:24 +08:00
a075fd46fd
If a database exception is raised ActiveRecord will always rollback even if caught. Instead we build the query in manual SQL and DO NOTHING when there's a conflict. If we detect nothing was done, perform an update. |
||
---|---|---|
.. | ||
anon_cache_invalidator.rb | ||
cached_counting.rb | ||
category_hashtag.rb | ||
has_custom_fields.rb | ||
has_destroyed_web_hook.rb | ||
has_search_data.rb | ||
has_url.rb | ||
limited_edit.rb | ||
positionable.rb | ||
roleable.rb | ||
searchable.rb | ||
second_factor_manager.rb | ||
stats_cacheable.rb | ||
trashable.rb |