Fixes
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:
parent
dfb0f5f347
commit
bceb1864df
5 changed files with 14 additions and 27 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue