# 'connect' user to categories through preferences

**URL:** <https://www.ruby-forum.com/t/connect-user-to-categories-through-preferences/144202>\
**Category:** Rails\
**Created:** [July 26, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/connect-user-to-categories-through-preferences/144202 "2008-07-26T18:11:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![remco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@remco](https://www.ruby-forum.com/u/remco)\
**Post date:** [July 26, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/connect-user-to-categories-through-preferences/144202/1 "2008-07-26T18:11:16Z")

</div>

Hi,

The users on my website can create/update their account for newsletters  
purposes. In my next-release i want to add more preferences, based on  
activities(travel). The user can select categories(activities) through a  
select box:

musea (a)  
beach (b)  
sports ©  
modern wonders (d)  
trekking (e)  
ect.

If activity a + e is selected the user is ‘connected’ to group A  
If activity b + c is selected the user is ‘connected’ to group B  
ect.

When i user is create or updated, the user is placed/connected in a  
group based on their preferences. And based on the users categories i  
want to serve different content.

Someone ideas links to guide me…(newbie…)

Grtz…remco
