simple duck parse for rails params