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

Warnings after upgrading to rails 3.2.6

*** Mocha deprecation warning: Change require 'mocha' to require 'mocha/setup '.

    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.

    Called from: C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/action
pack-3.2.6/lib/action_dispatch/middleware/session/abstract_store.rb:28:in `initi
alize'.

Rack::File headers parameter replaces cache_control after Rack 1.5.

should I worry about any of this? Or should I go about changing it?

2 Answers

this can be ignored, it's a bug that was fixed in later versions of rails

first hit on google

Ah, good to know.