Line 112 of devise-1.5.3/lib/devise/ calls to_yaml to return an appropriately formatted error message:
{ :error => i18n_message }.send(method)
Unfortunately, this bails at /usr/lib/ruby/1.9.1/psych/visitors/emitter.rb line 21, because it seems that psych does not
include a to_s on o.value. The error that one sees is:
wrong argument type Symbol (expected String)
and backtraces are hard to get because of the way the rescues have occurred.
I do not yet have a solution to this, but I wanted to record it somewhere. (I don't think devise is wrong here)
Line 112 of devise-1.5.3/lib/devise/ calls to_yaml to return an appropriately formatted error message: { :error => i18n_message }.send(method)
Unfortunately, this bails at /usr/lib/ruby/1.9.1/psych/visitors/emitter.rb line 21, because it seems that psych does not include a to_s on o.value. The error that one sees is: wrong argument type Symbol (expected String)
and backtraces are hard to get because of the way the rescues have occurred.
I do not yet have a solution to this, but I wanted to record it somewhere. (I don't think devise is wrong here)