Permalink
Browse files

Fixing mystical performance issue

  • Loading branch information...
Andrew Kolesnikov
Andrew Kolesnikov committed Feb 25, 2011
1 parent ac8ec34 commit 975ba35c8b881e23e5aeb0baccf722c42e9e1f56
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 975ba35

Please sign in to comment.