search for: user_see_id

Displaying 1 result from an estimated 1 matches for "user_see_id".

2010 Jul 07
0
How to create a conditional user profile view?
...though of using flag-variable but I''m bit confused. Option 1: - Create model User with voted_user_id. This variable starts null and only gets number after voting for user B & others. Option 2: - Create a new model called Handshake. User has_many Handshakes. Handshake has two variables user_see_id and user_voted_id. User_see_id is the User A in the use case and user_voted_id is the user B. Handshake''s variables are only created at stage 3 (above paragraph). So, the system will make a check to see if Handshake was created and if yes, it shows the age otherwise it shows a link for gue...