pivotal/cacheable-flash — pull request #8 by pedrocarrico (2012-03-08 18:57:01+00:00)
Title: Removed unneeded type check

The type check is not needed because the .to_s is implicit since the curly brackets are used in the else case.

I needed to use a TrueClass as a value it gave me an "undefined method `<<' for true:TrueClass (NoMethodError)" everytime I used write_flash_to_cookie.