Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need separate table to store users in db #14

Open
tansaku opened this issue May 22, 2009 · 1 comment
Open

need separate table to store users in db #14

tansaku opened this issue May 22, 2009 · 1 comment

Comments

@tansaku
Copy link

tansaku commented May 22, 2009

So I think twitter-auth is great. However I have run into one issue trying to cache twitter data in the database. I find that I have to have a separate twitter_user table to store user information about friends and followers. If I try and drop it into the users table created by twitter-auth I get validation errors like 'login required'. This means my current db caching of twitter data is a little un-DRY. I wonder if it might be valuable to extract the twitter user data available over the wire to a separate table, and then have the data needed for oauth in a separate table?

@mbleigh
Copy link
Owner

mbleigh commented Nov 15, 2009

I think the solution here is to make the validations more optional and flexible instead of requiring a second table for the stored Twitter information. I'll take this under consideration.

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

No branches or pull requests

2 participants