lib/cloudinary/uploader.rb in cloudinary-1.0.14 vs lib/cloudinary/uploader.rb in cloudinary-1.0.15

- old
+ new

@@ -11,10 +11,10 @@ :callback=> options[:callback], :format=>options[:format], :type=>options[:type], :tags=>options[:tags] && Cloudinary::Utils.build_array(options[:tags]).join(",")} if options[:eager] - params[:eager] = options[:eager].map do + params[:eager] = Cloudinary::Utils.build_array(options[:eager]).map do |transformation, format| transformation = transformation.clone format = transformation.delete(:format) || format [Cloudinary::Utils.generate_transformation_string(transformation), format].compact.join("/") end.join("|")