I was wondering how to implement a ignore list based on attributes the
other users have.

What exists so far is some code wrapped around the buttons saying if
@user.logged_in? or @user.me? prohibiting people from using the app
before being logged in. But I wanted to take this further and make it
dependent on their attributes, saying for example: Jessie wants only
messages from guys that are above 28 and single.

One could write a little helper checking those attributes and
displaying the message button or not, but i think this should rather
be done in some model level using a validation on message for
example.

Does anybody have any smart ideas on that?

Cheers
TOm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to