Upgrade to Rails 3.2.13 to fix several CVEs (SQLi, DOS, XSS)
Use else in case statement.