diff --git a/lib/builder.rb b/lib/builder.rb index f6d426b4..b0f46947 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -341,7 +341,7 @@ class CustomWizard::Builder end def standardise_boolean(value) - !!HasCustomFields::Helpers::CUSTOM_FIELD_TRUE.include?(value) + ActiveRecord::Type::Boolean.new.cast(value) end def create_topic(user, action, data)