How to make facebook like "Groups" in ruby on rails application -


i working on web application using ruby on rails development framework. application requires group feature.

i planning have this. user have profile in app. user can create group. can invite people in group via email. trying make wikispace discussion forums. user/teacher invite students via email, , students can subscribe group.

now whenever teacher posts in group, students should email new post has been done, , should able comment on post , discuss topics. not making profile students.

could please suggest methods, resources how achieve feature in ruby on rails?

in short need create different models , create relations between them - of has_many (belongs_to) or has_many_belongs_to_many relations. advise create "models map" first, can understand relations between models better.

you can on paper, that's mvc great for!

try looking references here , here.

looks you're planning big. recommend start small - little things creating groups, users, blog-like functionality , adding more complex stuff.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -