irb(main):001:0> true == "true"
=> false

anyway - I'm reverting to the simpler not pretty version