GET and POST variable hashes in Ruby on Rails
Comments Off on GET and POST variable hashes in Ruby on Rails
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.
Making Valid XHTML Easier
Code: Rails, Ruby, xhtml
Comments Off on Making Valid XHTML Easier
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.
Tidy Stylesheets in Rails
Code: css, design, maintainability, Rails, Ruby
Comments Off on Tidy Stylesheets in Rails
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.
Freshwater Live and TechCoffee
Biz: Chicago, entrepreneurship, Freshwater, Rails
Comments Off on Freshwater Live and TechCoffee
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).
Rails Day 2006
Code: Rails, web
Comments Off on Rails Day 2006
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.