Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing mystical performance issue

  • Loading branch information...
commit 975ba35c8b881e23e5aeb0baccf722c42e9e1f56 1 parent ac8ec34
Andrew Kolesnikov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/dm-paperclip/storage.rb
View
2  lib/dm-paperclip/storage.rb
@@ -174,7 +174,7 @@ def s3_host_alias
def parse_credentials creds
creds = find_credentials(creds).to_mash.stringify_keys!
- if defined? Merb && Merb.respond_to?(:env)
+ if defined?(Merb) && Merb.respond_to?(:env)
(creds[Merb.env] || creds).symbolize_keys
elsif defined? RAILS_ENV
(creds[RAILS_ENV] || creds).symbolize_keys
Please sign in to comment.
Something went wrong with that request. Please try again.