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

Advance social features -Push updates issue

I'm trying to implement the push updates feature from the rails advances social course. but for some reason the pollActivity function keep getting errors "Uncaught ReferenceError: Routes is not definedpollActivity @ VM111 application.js?body=1:54"

How can i fix that? should i enter the whole message url instead of Routes.message_path