discourse/app/models/concerns
Robin Ward a075fd46fd FIX: Don't use exceptions to catch conflicts
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.
2019-07-06 14:43:56 -04:00
..
anon_cache_invalidator.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
cached_counting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_hashtag.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
has_custom_fields.rb FIX: Don't use exceptions to catch conflicts 2019-07-06 14:43:56 -04:00
has_destroyed_web_hook.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
has_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
has_url.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
limited_edit.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
positionable.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
roleable.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
searchable.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
second_factor_manager.rb FEATURE: add ability to have multiple totp factors (#7626) 2019-06-26 16:58:06 -07:00
stats_cacheable.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
trashable.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00