disphenoid / tapes.fm

Webapp tapes.fm
http://tapes.fm
0 stars 0 forks source link

user wait / invite list #28

Closed disphenoid closed 11 years ago

knarz commented 11 years ago

Is the pending field in the User model related to this? Will that be used to keep track of invited + not yet activated users? And why is it a string?

disphenoid commented 11 years ago

Yes it is related to the Invite Issue but, this value will never be set in the database. Right now its only used to differentiate between Inivtes and Users in the Tapedeck.all_collaborators method. An Invite could be used for "Pending" and "Active" Users.

I changed the String to bool

To validate if an User is or is not already an "Active/Registered" User you could check the Invite.invited_user_id value.

Am 27.12.2012 um 03:42 schrieb Sascha Hanse notifications@github.com:

Is the pending field in the User model related to this? Will that be used to keep track of invited + not yet activated users? And why is it a string?

— Reply to this email directly or view it on GitHub.

Johannes Schacht

Lausitzerstr. 8 10999 Berlin

E: j.schacht@me.com M: +49 160 96 80 48 79