benhamill/zooplankton — pull request #4 by lostinpatterns (2014-06-29 16:51:54+00:00)
Title: don't try to convert params to a hash if it's an array

in ruby 2.1 Array responds to to_h (you can convert association arrays like [[:key, :value]] to {:key=>:value}) so i just added in a check to make sure we're not trying to convert an array into a hash where we don't want to here