carrierwaveuploader/carrierwave — pull request #1092 by tmaier (2013-05-18 14:39:04+00:00)
Title: Add method #version_exists?

This pull request fixes #1089 by introducing a method calles #version_exists?

This method was extracted from `active_versions`: https://github.com/carrierwaveuploader/carrierwave/blob/master/lib/carrierwave/uploader/versions.rb#L152-L162

an `url` is just returned if the version exists according to the `:if` condition.