Command to turn on mailing list mode per user?

Hi, I’d like to be able to run a command from rails console to enable mailing list mode for specific users so that I can make sure some specific people get emails for new topics posted in categories they are interested in. Is this possible? Also, can I enable it so the users will only get email notifications when topics are posted to a specific category?

TIA,
Chris

Simplest thing is to impersonate them, change the setting, delete your cookies.

If you must

./launcher enter app
rails c
> User.find_by_username('bob').update_columns(mailing_list_mode: true)
6 Likes

thanks @sam :slightly_smiling:

You don’t need to “impersonate” that user…

Just go to that users preferences page and change the setting.

5 Likes

true, don’t know what I am :smoking: today.

3 Likes