Actions
Refactor #34424
openDeprecate Foreman::Cast.to_bool in favor of Rails implementation
Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Description
We have our own implementation of casting booleans, but we should not reimlement things that Rails provide.
We should deprecate Foreman::Cast.to_bool in favor of ActiveRecord::Type::Boolean.new.deserialize
This came up from a discussion on https://github.com/theforeman/foreman/pull/9079#discussion_r796700058
Actions