Is restful_authentication ever going to work for rails 3?
I like the simplicity of restful_authentication (as a newbie), was hoping it would work in rail开发者_C百科s 3.0.3 but when i ran bundle install it said it doesn't work for this version of rails.
People use devise these days if they want to work with Rails 3. It is much easier, simpler and does not pollute your code. Is there any specific reason why you would want to use restful_auth?
you can also use gem "rails3-restful-authentication" with rails 3 support. just add
gem "rails3-restful-authentication", "~> 3.0.1"
in application Gemfile and it will support for rails 3 also.
You can get it to work, at least partially, I have got it to work on everything except my delete method. To do it there is a fork by Satish made for the Rails 3 release canidates, however I have figured out that it requires some configuration, but is possible. You can find out more on http://vinsol.com/blog/2010/04/23/upgrading-restful-authentication-plugin-for-rails-3. I don't remember how I initially got it set up, or I would help more. But, yes, it is supported, however, it is more as a help to get Rails 2 apps up to Rails 3 without having to rip apart the app too much.
精彩评论