Friday, March 27, 2009

Rails GET and POST params precedence

When you have GET and POST vars with the same name, Rails munges them into a single hash key variable into the params hash. The order of precedence varied between my development and acceptance environment. Of course, one should avoid this situation where possible :-)

No comments:

Post a Comment