Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Delayed paperclip defaults #88

Merged

Conversation

kevinmtrowbridge
Copy link

No description provided.

'options' defaults defined there, otherwise it's just accessing the same
'options' (defined on the instance) as the place a few lines down that
 merges the instance options into the default options.

It worked before, because accessing an undefined key in a hash,
returns nil, and the default is also nil, so there was no difference.

However, I want to be able to define a default processing_image_url
that's not nil, so I noticed the problem.
@ScotterC
Copy link
Collaborator

Thanks!

ScotterC pushed a commit that referenced this pull request May 16, 2014
@ScotterC ScotterC merged commit a1e169b into jrgifford:master May 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants