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

ProviderImage and provider account association #61

Open
jprovaznik opened this issue Nov 26, 2012 · 0 comments
Open

ProviderImage and provider account association #61

jprovaznik opened this issue Nov 26, 2012 · 0 comments

Comments

@jprovaznik
Copy link
Contributor

ProviderImage with provider account assocition is little bit confusing:
I can specify model which represents provider accounts by setting "Tim.provider_account_class"

but on the other side provider_account_id is of type string:
db/migrate/20120911204329_create_tim_provider_images.rb: t.string :provider_account_id

also populate_factory_fields method in ProviderImage model sets provider_account_id attribute directly from iamgefactory value.

expected behavior:
ProviderImage model should be ideally connected with a provider account model by common AR ids.

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

1 participant