Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Empires

Akshay Joshi edited this page Jul 1, 2011 · 1 revision

Empires are comprised of multiple users. That is to say, the user model has_one empire, while the empire model has_many users. I'm not sure at this point which relationship takes precedence, but I imagine that has_many would.

If, upon login, a user does not belong to an empire, the user will get the opportunity to enroll in one of the predefined empires. Each empire may potentially have a special advantage that will make it different from other empires (i.e. bonuses of some sort).

Clone this wiki locally