You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems that there is something wrong with the current_user method (defined application_controller.rb as suggested by Ryan's Railscasts ( http://asciicasts.com/episodes/160-authlogic )
thanks
The text was updated successfully, but these errors were encountered:
I'm not sure if this is a smerf problem, it sounds like you have issues with authlogic. SMERF only requires you to set the ID of your user's record for example
self.smerf_user_id = current_user.id how you do that is up to your application.
Got the error as title.
It seems the only fix from Google is to change:
config.cache_classes = false
to:
config.cache_classes = true
in config/environments/development.rb
the "unloadable" fix suggested by others does not work for me.
the error is hit at line 11 of the following code:
10:
<%= link_to 'Home', root_path %>
11: <% if current_user %>
12:
13:
14:
it seems that there is something wrong with the current_user method (defined application_controller.rb as suggested by Ryan's Railscasts ( http://asciicasts.com/episodes/160-authlogic )
thanks
The text was updated successfully, but these errors were encountered: