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. |
||
|---|---|---|
| .. | ||
| 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 | ||