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

ODOT 500 Page when cookie is edited

I'm working through the "Rails Layout and CSS Frameworks" course and the first lesson implements the "Remember Me" functionality by creating a cookie. If the cookie cannot be verified, it should render the 500 error page. but if I edit the cookie, it doesn't work, but I'm not seeing a 500 page, just the "must be logged in" flash and the login page.

In the ApplicationController is:

` rescue_from ActiveSupport::MessageVerifier::InvalidSignature, with: :render_error

private

def render_error render file: 'public/500.html', status: :internal_server_error, layout: false end `

Where should I start looking?