Page Administration through change of session

I’m fairly new to Rails and I’m building an app which has users, pages
and groups. I want users to be able to message the pages, and for the
admins of pages to be able to reply as the page, as is done on Facebook.
I’m not really sure how to go about this in Rails though. Does anybody
know how this is done on Facebook?

Would the user session be destroyed and another session created for the
page, through an admin column? I appreciate that using a gem such as
Mailboxer could resolve messaging a non-user object, but am unsure how
that would be implemented.

Any help would be greatly appreciated.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs