Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

As a User, I'd like my preferences to be tracked, such as my preferred language #31

Open
robyurkowski opened this issue Feb 13, 2013 · 3 comments

Comments

@robyurkowski
Copy link
Contributor

So if I prefer to view the site's French side, whenever I log in, it should always display in French to me.

@parndt
Copy link
Member

parndt commented Feb 13, 2013

So, all users require a discrete settings store, somehow.

@knewter
Copy link
Member

knewter commented Feb 18, 2013

So then you have the question of how to handle this settings store. Arbitrary key/value stores are cool but obviously the persistence strategy has issues. If you never want to query against them, serializing makes sense, and then in postgres you can take advantage of HStore so that you can index in that case if you need to.

HEY GUYS I THINK WE NEED MONGODB

@robyurkowski
Copy link
Contributor Author

Hstore is wicked cool, but do we want to advise that this has to be run on Postgres? I don't think we can do that, and I don't even think that having 'additional' functionality is necessarily something great.

In my mind, this is as simple as creating Abc::UserProfile, 1:1-ing this with the user class, and delegating to profile certain things.

As cool as k/v stores are, this isn't exactly the sort of data that's so irregular to be unsuited to standard SQL tables.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants