thoughtbot/suspenders — Issue #42: NoMethodError and undefined method for signed_in?
Author: ethank
Created: 2011-10-14 23:14:08+00:00
State: open

This is on Rails 3.1.1

NoMethodError in Clearance::sessions#new

Showing /Users/ethankap/Development/sandbox/susproj1/app/views/layouts/application.html.erb where line #11 raised:

undefined method `signed_in?' for #<#:0x007ff0951f49a0>
Extracted source (around line #11):

8:

9:

10:

11: <% if signed_in? -%>
12: <%= link_to "Sign out", sign_out_path, :method => :delete %>
13: <% else -%>
14: <%= link_to "Sign in", sign_in_path %>
Rails.root: /Users/ethankap/Development/sandbox/susproj1

Application Trace | Framework Trace | Full Trace
app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___3678385005418598601_70335636207640'
Request

Parameters:

None
Show session dump

Show env dump

Response

Headers:

None