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

How can i add multiple communities to my social network application?

Hello,

I have been going through the course on building a social network with ruby on rails. The idea that I have is to have the site set up so that it has multiple "communities" and the user can choose the one that they want to be a part of and start making friends, posts, etc. in that community. I'm just not 100% sure how to implement this. Any help is greatly appreciated.

2 Answers

noah finnerman
noah finnerman
15,380 Points

I would use the inkwell gem, just follow their documentation on how to install and use the gem. I have not work with this gem yet, but it seems like the easiest way to quickly and effectively add communities to your app

Here is the github link: ttps://github.com/salkar/inkwell

Thanks noah. I will definitely check this one out. Do you happen to know if it supports the latest version of rails?

noah finnerman
noah finnerman
15,380 Points

Yes you should be good to go. That's good I am glad you found the advice helpful.

Good luck