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
Andrea Sanchez
Courses Plus Student 2,132 PointsI got this security message rails server command
SECURITY WARNING: No secret option provided to Rack::Session::Cookie. This poses a security threat. It is strongly recommended that you provide a secret to prevent exploits that may be possible from crafted cookies. This will not be supported in future versions of Rack, and future versions will even invalidate your existing user cookies.
1 Answer
Jason Seifer
Treehouse Guest TeacherYou can ignore this message for the time being. There's an in depth explanation here if you're interested in what's going on under the hood. The long story short is that it's just a warning. If you want to make the warning disappear, open up your Gemfile and put the following in:
gem 'rack', '1.4.1'
Then run "bundle install" and you should be good to go.