Sanitize params after initialization

This commit is contained in:
Jose Farias
2024-11-06 18:19:19 -06:00
parent e73f44cde9
commit f53ee0ddac
+1
View File
@@ -11,6 +11,7 @@ module Filter::Params
end
included do
after_initialize :sanitize_params
before_validation :sanitize_params
end