Commit Graph

8 Commits

Author SHA1 Message Date
kamionayuki c310c25781 Update controller_helpers.rb
在ruby2.2.0p0版本中,&& 与 and 的优先级不同。
right = true && false
right = true and false
的结果不一样
2015-10-27 21:22:21 +08:00
anvyzhang c62648c766 Verify fail if captcha was blank in session or params. 2015-10-26 22:58:16 +08:00
Jason Lee 4ec52d887b Add some test case 2015-10-26 21:55:46 +08:00
Jason Lee e7cc8091fb Use xxx_url to fix bad captcha URL for enabled case. 2015-10-26 20:53:30 +08:00
Jason Lee 3be8125c40 Update Image style and colors, and fix Captcha class missing bug.
- No case sensitive;
- Export config.implode;
- Improve image color and style;
- Don't generate chars in 'l,o,0,1'.
- Render lower case chars on image.
2015-10-26 17:40:59 +08:00
Jason Lee 7c672bbc92 Include default validation I18n messages (en, zh-CN, zh-TW). 2015-10-26 15:50:54 +08:00
Jason Lee e7ac2bb9ad Version 0.1.0 2015-10-26 14:11:48 +08:00
Jason Lee 981308e839 First commit. 2015-10-26 14:09:39 +08:00