michaelhayman / Reciprocity

http://stark-window-6749.heroku.com/
1 stars 0 forks source link

Implement locations for organizations &etc. #3

Closed michaelhayman closed 12 years ago

michaelhayman commented 12 years ago

Use Carmen for States/Countries. How does Carmen represent IDs of States & Countries? Will need to see this in order to store the information in the database. Stores them as strings.

Add locations as a separate model -> polymorphically associate it with sponsors and organizations and possibly individuals

Need to add a 'default' location to locations for head office? when an organization is first added... necessary?

Model:

Street1|Street2|City|State|Country|LocationableID 12 Sudbury Street|Suite 2603|Toronto|ON|CA|1

Organizations - 1 Volunteers - 2 Sponsors - 3