heartcombo / devise

Flexible authentication solution for Rails with Warden.
http://blog.plataformatec.com.br/tag/devise/
MIT License
23.91k stars 5.54k forks source link

Devise with Rails 3 Beta 2 #194

Closed shenoudab closed 14 years ago

shenoudab commented 14 years ago

Kindly, i got that worning and Error when using Devise 1.1.0.rc with Rails 3 beta 2 DEPRECATION WARNING: Using form_for(:name, @resource) is deprecated. Please use form_for(@resource, :as => :name) instead.

and got "No route matches "/sessions/user""

Best Regards, Shenouda Bertel

nono commented 14 years ago

For the warning, it's fixed in the master: see http://github.com/plataformatec/devise/commit/71f74a10f7f6651e5667612305df8309cd2b841d .

josevalim commented 14 years ago

Yes, if you want to use Rails master, you need to use Devise master.

shenoudab commented 14 years ago

Thanks, for help and support