Sha256: 7ed673ce0c425270452d4715320d2e9e41775eea7f3139ca1b1d7698dd06761a
Contents?: true
Size: 314 Bytes
Versions: 10
Compression:
Stored size: 314 Bytes
Contents
module BrowseEverythingHelper def array_to_hidden_fields(array,key) fields = array.to_query(key).split(Rack::Utils::DEFAULT_SEP).collect do |pair| key,value=pair.split('=', 2).map { |str| Rack::Utils.unescape(str) } hidden_field_tag(key,value) end fields.join("\n").html_safe end end
Version data entries
10 entries across 10 versions & 1 rubygems