Displaying 1 result from an estimated 1 matches for "name_ext".
Did you mean:
name_ee
2008 May 23
0
R(c,*g) helper method can''t handle nested hash input params
...uot; unless u = c.urls.find{|x|
break x if x.scan(p).size == g.size &&
/^#{x}\/?$/ =~ (x=g.inject(x){|x,a|
x.sub p,C.escape((a[a.class.primary_key]rescue a))})
}
h.any?? u+"?"+h[0].map{|x|
k, v = x
if Hash===v
name_ext, val = v.to_a.pop
k="#{k}[#{name_ext}]"
x=[k,val]
end
x.map{|z|
C.escape(z)
}*"="
}*"&": u
end
hope this gets fixed in Camping 2.0