I have a boolean value to check if it is true, then set a local variable. How do I refactor this so it is more Ruby-ish?
if firm.inflection_point inflectio
It is not pure ruby solution but, You can use ActiveRecord::Type::Integer.new.cast(true)
ActiveRecord::Type::Integer.new.cast(true)