介绍如何使用 OmniAuth Identity 来做基于账号和密码的认证。 http://railscasts-china.com/episodes/4-omniauth-2-identity
刚好看到 @xdite 的一篇博文 Make ActiveRecord Includable http://blog.xdite.net/posts/2012/01/04/make-activerecord-includable/ 而在 ActiveRecord 里使用 OmniAuth Identity 却刚好是继承式的。。。
class Identity < OmniAuth::Identity::Models::ActiveRecord
# Add whatever you like!
end
http://railscasts-china.com/episodes/4-omniauth-2-identity
打开出现:We're sorry, but something went wrong.
这个地址是换地方了么?@poshboytl