lib/fanforce/utils.rb in fanforce-0.3.9 vs lib/fanforce/utils.rb in fanforce-0.3.10
- old
+ new
@@ -44,9 +44,10 @@
def remove_nil_values(hash)
hash.clone.delete_if {|k,v| v.nil? }
end
def collect_known_params(params)
+ params = params.symbolize_keys
if is_present?(params[:app_id])
plugin_type = :app
plugin_id = params[:app_id]
elsif is_present?(params[:behavior_id])
plugin_type = :behavior