开发者

devise + omniauth undefined method `find' for Symbol:Class error

开发者 https://www.devze.com 2023-03-03 23:28 出处:网络
NoMethodError in Projects#index Showing /home/dave/Documents/exercises/todo/app/views/layouts/application.html.erb where line #18 raised:
 NoMethodError in Projects#index

Showing /home/dave/Documents/exercises/todo/app/views/layouts/application.html.erb where line #18 raised:

undefined method `find' for Symbol:Class

Extracted source (around line #18):

15: 
16:   <div id="container">
17:     <div id="user_nav">
18:       <% if user_signed_in? %>
19:         Sign in as <%= current_user.email %>. Not you?
20:         <%= link_to "Sign out", destroy_user_session_path %>
21:       <%else %>

why am i getting this error message?

undefined method `find' for Symbol:Class

im using rails 3.0.7 and devise 1.1.rc0

based on this tutorial http://media.railscasts.com/videos/236_omniauth_part_2.mov

开发者_如何学JAVA

what a lame i just bundle installed devise 1.3.4 and changed secret_token or clear sessions db and *then up and running*

just incase some people might investigate some the cause of this problem just to let you know.

0

精彩评论

暂无评论...
验证码 换一张
取 消