attachment_spec.rb
48.5 KB
-
`url` on a unpersisted record returns default_url · 36095bc0
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.
Jon Yurek committed