Commit ee0052ef authored by Rachel Fox's avatar Rachel Fox

fix exist typo

parent d4af731f
...@@ -19,7 +19,7 @@ class UserDetail < ApplicationRecord ...@@ -19,7 +19,7 @@ class UserDetail < ApplicationRecord
# For backward compatibility. # For backward compatibility.
# Older migrations (and their tests) reference the `User.migration_bot` where the `bio` attribute is set. # Older migrations (and their tests) reference the `User.migration_bot` where the `bio` attribute is set.
# Here we disable writing the markdown cache when the `bio_html` column does not exists. # Here we disable writing the markdown cache when the `bio_html` column does not exist.
override :invalidated_markdown_cache? override :invalidated_markdown_cache?
def invalidated_markdown_cache? def invalidated_markdown_cache?
self.class.column_names.include?('bio_html') && super self.class.column_names.include?('bio_html') && super
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment