forked from thoughtbot/paperclip
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
url
on a unpersisted record returns default_url
It should never be the case that `url` returns `nil`. If there is no url that can be reasonable achieved, as is the case when the record the attachment is attached to is unpersisted, then `url` should return the default url.
- Loading branch information
Jon Yurek
committed
Jun 26, 2015
1 parent
7f732ee
commit 36095bc
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters