Showing 1 of 1 total issue
Method coerce_not_nil
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
def coerce_not_nil(date) wrap_errors do secure do next date if date.is_a?(::Date) next date.to_date if date.is_a?(::Time)
- Read upRead up