pat/riddle — pull request #59 by darcy (2013-02-02 18:03:06+00:00)
Title: Riddle.encode was failing due to ::Encoding.default_external not defined

Swapped the encoding check to use the local @@use_encoding var before calling default_external. The class was defined, but not the method.

This issue was found using ruby 1.8.7p371 & rails 2.3.16.

Thanks for the gem!