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

Lisa Rossiter
Lisa Rossiter
3,630 Points

Activity Feeds - Is the social network course still up to date?

I just want to check that this is still the most efficient way to create an activity feed in rails. I know what happens a new gem comes out and I have wasted time and effort custom integrating a solution.

Should I be exploring websockets as well?

1 Answer

Brandon Barrette
Brandon Barrette
20,485 Points

So you can pretty much use the code for activity feeds from the videos in rails 4. There were some slight changes needed, but for the most part it was very easy for me to take what Jason already did and reuse it in my Rails 4 project.

I would say go for it, and if you have troubles, paste your code here and ask away!

Lisa Rossiter
Lisa Rossiter
3,630 Points

Thanks Brandon

What about using observers?

I see them about the place but I am unsure what they do and where best to use them?

Brandon Barrette
Brandon Barrette
20,485 Points

I don't have any experience with observers. From what I know about them, it's a possibility.