Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Assumes primary key is 'id' #13

Open
xaviershay opened this issue Nov 24, 2010 · 0 comments
Open

Assumes primary key is 'id' #13

xaviershay opened this issue Nov 24, 2010 · 0 comments

Comments

@xaviershay
Copy link
Contributor

A datamapper model with a PK that is not 'id' can not currently be used as a Paperclip resource.

lib/dm-paperclip/interpolations.rb calls attachment.instance.id at line 103 and 109.

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

No branches or pull requests

1 participant