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

Do not assume that every model supports Dragonfly #2720

Merged
merged 1 commit into from
May 2, 2019

Conversation

skalee
Copy link
Contributor

@skalee skalee commented Sep 25, 2016

It is not guaranteed that every model extends Dragonfly::Model. Calling ::dragonfly_attachment_classes on some models would raise NoMethodError.

It is not guaranteed that every model extends +Dragonfly::Model+.
Calling +::dragonfly_attachment_classes+ on some models would
raise +NoMethodError+.
@mshibuya
Copy link
Member

Spec needed!

@mshibuya mshibuya added this to the 2.0.0 milestone May 2, 2019
mshibuya added a commit that referenced this pull request May 2, 2019
@mshibuya mshibuya merged commit 0e341a4 into railsadminteam:master May 2, 2019
@mshibuya
Copy link
Member

mshibuya commented May 2, 2019

Added a spec in 93510ff, thanks.

@skalee skalee deleted the fix-dragonfly-integration branch May 2, 2019 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants