Fix Session CookieOverflow bug when rescuing an InstikiValidation error.
Fix some random things which will cause problems with Ruby 1.9. (Plenty
more where those came from.)
This commit is contained in:
Jacques Distler 2008-11-05 22:24:14 -06:00
parent dfb0f5f347
commit bceb1864df
5 changed files with 14 additions and 27 deletions

View file

@ -54,8 +54,8 @@ module SQLite3
case mode
when String
case mode.downcase
when "on", "yes", "true", "y", "t": mode = "'ON'"
when "off", "no", "false", "n", "f": mode = "'OFF'"
when "on", "yes", "true", "y", "t" then mode = "'ON'"
when "off", "no", "false", "n", "f" then mode = "'OFF'"
else
raise Exception,
"unrecognized pragma parameter #{mode.inspect}"