thoughtbot/paperclip — Issue #745: url/path generate wrong path if given a string
Author: nilclass
Created: 2012-02-17 12:46:46+00:00
State: open

Example:

```ruby
class Foo < ActiveRecord::Base
has_attached_file :bar, :styles => { :thumb => ['100x100', :png] }
end

foo = Foo.create!(:bar => fixture_file_upload("my-image.jpg"))

foo.bar.url(:thumb) #=> /system/bar/1/thumb/my-image.png (CORRECT)
foo.bar.url('thumb') #=> /system/bar/1/thumb/my-image.jpg (INCORRECT)
```
The same happens for path()