Skip to content

Commit

Permalink
Array#to_s treats symbols and strings differently in ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Evans committed Feb 16, 2010
1 parent cc36cb0 commit 7169f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dragonfly/parameters.rb
Expand Up @@ -152,8 +152,8 @@ def to_hash
def to_sorted_array
[
uid,
format,
processing_method,
format.to_s,
processing_method.to_s,
processing_options.sort{|a,b| a[0].to_s <=> b[0].to_s },
encoding.sort{|a,b| a[0].to_s <=> b[0].to_s }
]
Expand Down

0 comments on commit 7169f60

Please sign in to comment.