[Rails] Re: NameError in Devise/sessionsController#new
Hi i am getting the same issue, can you tell me if you got a solution for this?
thx
El martes, 23 de noviembre de 2010 20:05:11 UTC-4, NazarHussain escribió:
-- thx
El martes, 23 de noviembre de 2010 20:05:11 UTC-4, NazarHussain escribió:
I created a sample application.
Added devise in it, it works fine.
Then added cancan gem into it.
Created an ability class. define some permissions.
Then added line
load_and_authorize_resource
to the Application Controller, after that when i go to the page
http://0.0.0.0:3000/users/sign_in it gave the following error,
NameError in Devise/sessionsController#new
uninitialized constant Session
Rails.root: /home/nazar/rails_projects/sample_can
Please help me, i can not solve this issue.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a6afbe84-783f-43be-8666-4c2c91b05c1e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home