In Rails, you access GET, POST, and routing variables through the params hash. This works almost all the time, except when you duplicate a variable name: routing overwrites GET overwrites POST.
I’m working on a Rails site in my Copious Free Time and I wanted to share a little way that Ruby made my life easier. I’m making my pages valid XHTML 1.0 Transitional because it makes life easier to find bugs and it just feels good to know I’m meeting the spec.
It’s very easy for a site’s CSS to grow a single giant, brittle stylesheet. It becomes impossible to change anything because of bizarre interactions between elements, unexpected interactions, and simply because it’s just too big for anyone to understand. Much of programming is managing complexity, and I’ll share a nice technique in that vein.
Last night I went to the invite-only Freshwater Live, a meeting for entrepreneurs of all experience levels put on by Freshwater Venture. FV is a neat blog that profiles Chicago tech companies and is run by consummate nice-guy Keith Schacht and Eric Antonow (who is probably also a nice guy but I don’t know him).
I’m sort of participating in Rails Day 2006. I say “sorta” because I’m trying to build an app in one day but I’m not actually in the competition.