Converting TrueClass / FalseClass to integer.
- by Nick Gorbikoff
Hello.
I'm trying to figure out if there is an easy way to do the following short of adding to_i method to TrueClass/FalseClass.
Here is a dilemma:
I have a boolean field in my rails app - that is obviously stored as Tinyint in mysql. However - I need to generate xml based of the data in mysql and send it to customer - there SOAP service…