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

Ruby

undefined local variable or method `render_breadcrumbs'

Error

NameError in Statuses#index

Showing C:/Sites/MSN/app/views/layouts/application.html.erb where line #33 raised:

undefined local variable or method `render_breadcrumbs' for #<#<Class:0x43bd5f0>:0x586ed68>
Extracted source (around line #33):

30:         </div>
31:     </div>
32:     <div class="container">
33:         <%= render_breadcrumbs %>
34:         
35:         <% flash.each do |type, message| %>
36:             <div class="alert <%= flash_class type %>">
Rails.root: C:/Sites/MSN

Application Trace | Framework Trace | Full Trace
app/views/layouts/application.html.erb:33:in `_app_views_layouts_application_html_erb__37263343_35552544'
app/controllers/statuses_controller.rb:11:in `index'
Request

Parameters:

None
Show session dump

Show env dump

Response

Headers:

None

I'm lost? lol

1 Answer

Needed twitter bootstrap gem, :O - Solved