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

I Can't Get The Statuses Table

I've done everything, but the Statuses Table isn't showing up. Instead this is:attr_accessible is extracted out of Rails into a gem. Please use new recommended protection model for params(strong_parameters) or add protected_attributes to your Gemfile to use old one.

Extracted source (around line #2): 1 2 3

class Status < ActiveRecord::Base attr_accessible :content, :name end

Rails.root: C:/Users/Alexander23/RobloRoll

Application Trace | Framework Trace | Full Trace app/models/status.rb:2:in <class:Status>' app/models/status.rb:1:in<top (required)>' app/controllers/statuses_controller.rb:7:in `index' Request

Parameters:

None Toggle session dump Toggle env dump Response

Headers:

None

Notes - Operating System: Windows

Hello Alexander, check the version of your Ruby on rails and ruby. It's probably a version issue with the one used by the team treehouse. I had the same. First solution you downgrade you version. Another one you skip it and go by yourself, I mean you develope your own 'treebook' version. It's this option I took. Just a personal choice. The must important thing it's to understand the process. Good Luck Alexander.

Thank you Frederic.

1 Answer