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

CSS

Daniel Terreros
PLUS
Daniel Terreros
Courses Plus Student 6,178 Points

Having to refresh treebook app to have .admin hover function

Anyone else run into this treebook app quirk? If I click on "All Statuses" in the nav bar, my ability to hover over and have "edit/delete" disappears. It is only until I reload the page that they will reappear with mouse hover.

Anyone else?

3 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey @Daniel Terreros that's a strange error. Can you post a link to your GitHub project?

Daniel Terreros
Daniel Terreros
Courses Plus Student 6,178 Points

Sure [here you go](http://github.com/VanDanny/BuzzKC]

I also get an error if I delete a user, it makes the app return nil

 ActionView::Template::Error (undefined method `gravatar_url' for nil:NilClass):
 9: <div class="status">
10:   <div class ="row">
11:     <div class="span1">
12:       <%= image_tag status.user.gravatar_url %>
13:     </div>
14:     <div class="span7">
15:       <strong><%= status.user.full_name %></strong>

app/views/statuses/index.html.erb:12:in block in _app_views_statuses_index_html_erb__3018167417037579723_70237629676660' app/views/statuses/index.html.erb:8:inapp_views_statuses_index_html_erb_3018167417037579723_70237629676660'

ActionView::Template::Error (undefined method gravatar_url' for nil:NilClass): 9: <div class="status"> 10: <div class ="row"> 11: <div class="span1"> 12: <%= image_tag status.user.gravatar_url %> 13: </div> 14: <div class="span7"> 15: <strong><%= status.user.full_name %></strong> app/views/statuses/index.html.erb:12:inblock in app_views_statuses_index_html_erb3018167417037579723_70237629676660' app/views/statuses/index.html.erb:8:in `_app_views_statuses_index_html_erb_3018167417037579723_70237629676660'

. If that gets fixed in a later video, please disregard.

Same issue Jason!

How am I supposed to downgrade versions and still have compatibility in the middle of a project?

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Daniel Terreros I noticed you're using Rails 4 in that application. Our videos use Rails 3.2.13 that might be an issue. Try downgrading and see if you still get that problem.