search for: voted_user_id

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

Did you mean: owed_user_id
2010 Jul 07
0
How to create a conditional user profile view?
...thanks me and SHOWS user B''s profile with AGE and all other information. What is the best practice to create a model that user A can only see user B''s age after sending his age guess? I 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. Hand...