Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


TypeError in (everywhere)

TypeError in Profiles#show      Showing C:/Users/bruker/projects/treebook/app/views/layouts/application.html.erb where line #18 raised:      [1] is not a symbol      Extracted source (around line #18):      15: <li><%= link_to "All Statuses", feed_path %></li> 16: </ul> 17: <ul class="nav pull-right"> 18: <% if user_signed_in? %> 19: <li><%= link_to current_user.full_name, edit_user_registration_path %></li> 20: <li><%= link_to "Log Out", logout_path %><li> 21: <% else %>

Rails.root: C:/Users/bruker/projects/treebook
Application Trace | Framework Trace | Full Trace

app/views/layouts/application.html.erb:18:in _app_views_layouts_application_html_erb___991318610_40599432' app/controllers/profiles_controller.rb:8:inshow'




Show session dump

Show env dump Response      Headers:      None

I cant find any answers to h ow to fix this online. What am I doing wrong here... again, and how do i fix it

1 Answer

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

Hi there,

Jason Seifer is on holiday at the moment. Let me see if I can help you.

I did some looking around and it looks like this issue can occur in some versions of devise.

Run a bundle update and see if devise gets upgraded.

If it doesn't work let me see the contents of your Gemfile.