mysql,Linux,HighPerformance,ruby on Rails

2010年12月24日星期五

authlogic with rails3,遇到问题,找到方法,解决之路

authlogic是认证gem,是当前最普遍使用的一款工具包,对rails3集成还不是很完美。(特对rails3.0.3+ruby1.9.2p0)
这里特意把相关的参考资料索引在这里,方便你来使用:

http://asciicasts.com/episodes/160-authlogic
这里思路和代码都比较完整。

https://github.com/binarylogic/authlogic
authlogic的codebase

http://www.dixis.com/?p=352
这个提到了使用rails3_generators

http://techoctave.com/c7/posts/37-authlogic-and-rails-3-0-solution
这个提到了问题的根源和解决方法

--
tommy xiao
E-mail: xiaods(AT)gmail.com

2010年12月5日星期日

Git使用过程中遇到的问题及解决方法

1、在github上fork过的项目创建branch
参考[1]

2、使用less看的log不是彩色的,使用less -R log/development.log就可以。
参考[2]

[1] http://www.zorched.net/2008/04/14/start-a-new-branch-on-your-remote-git-repository/
[2] http://www.sanityinc.com/articles/view-rails-logs-with-less
--
tommy xiao
E-mail: xiaods(AT)gmail.com