Janette Sadik-Khan: A Reason to Love NYC in 2007

Janette Sadik-Khan: A Reason to Love NYC in 2007: But recently, the DOT has been championing some very un-DOT ideas. It has replaced parking lots and traffic lanes with chairs and umbrellas in Dumbo and the meatpacking district and installed a new, physically separated bike lane on Ninth Avenue; it is pushing the mayor’s controversial congestion- pricing plan; and, in a symbolic act, it has given over three parking spots by the Bedford Avenue L stop to bike racks. Taken together, it’s as if the department has awakened to the idea that streets belong to people, not their vehicles.

The difference can be summed up in one name: Janette Sadik-Khan… [Go! Go! Go!]
Source: StreetsBlog

Rails 2.0.2: Some new defaults and a few fixes

Rails 2.0.2: Some new defaults and a few fixes: SQLite3 is the new default database

Most importantly is SQLite3 as the new database we’ll configure for by default when you run the rails generation command without any specification. This change comes as SQLite3 is simply an easier out of the box experience than MySQL. There’s no fussing with GRANTs and creates, the database is just there. This is especially so under OS X 10.5 Leopard, which ships with SQLite3 and the driver gems preinstalled as part of the development kit.

If you want to preconfigure your database for MySQL (or any of the other adapters), you simply do “rails -d mysql myapp” and everything is the same as before. But if you’re just playing with a new application or building a smallish internal tool, then I strongly recommend having a look at SQLite3. Thanks to the agnostic db/schema.rb, it’s as easy as changing your config/database.yml to switch from SQLite3 to MySQL (or another database) as soon as your load warrants it. [OK. Nice to the tweaks flowing…]
Source: Riding Rails