We'll respond shortly.
Rails XML parameter rudeness – sometimes when only a single model is posted, it does not generate the second array, and instead gives you a hash (i.re. not wrapped in ). This is apparently a well-known bug. Workaround is pretty straightforward:
widgets = params[:widgets][:widget] if widgets.is_a?(Hash) widgets = [widgets] end