setConfigAttributes should handle both rails-2 & rails-4 UI params

done. thanks.