about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-07 20:32:07 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-07 20:32:07 -0500
commit607105becf1392aedd42a19b55e0b7d1923a009e (patch)
tree04e5916e7046bd311ff511d47f4360a04cdca555 /config
parent489cfb3ffacdefa3b89a7a724633f4e3073f3c56 (diff)
downloadthoughts-607105becf1392aedd42a19b55e0b7d1923a009e.tar.gz
thoughts-607105becf1392aedd42a19b55e0b7d1923a009e.tar.bz2
thoughts-607105becf1392aedd42a19b55e0b7d1923a009e.zip
Fix modifying games
Diffstat (limited to 'config')
-rw-r--r--config/initializers/yaml_serialization.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/yaml_serialization.rb b/config/initializers/yaml_serialization.rb new file mode 100644 index 0000000..7c3ca58 --- /dev/null +++ b/config/initializers/yaml_serialization.rb
@@ -0,0 +1 @@
Rails.application.config.active_record.yaml_column_permitted_classes = [Enumerize::Value]