Rails Quick Tip: Bring Back MySQL to database.yml

In Rails 2.0, when you generate a new app, Rails defaults to SQLite3 as the default database adapter in database.yml. If you'd rather it generate database.yml for MySQL, you can use the following command to generate your app: rails -d mysql myapp Courtesy: Rails 2.0.2: Some new defaults and a few fixes

Best Practice SEO: File Extension or No?

I got into a discussion today at work over whether or not having an .html file extension has any SEO benefits over an extensionless directory-style url. I did ...

IPython Craziness on Mac OSX Leopard

For those who are unfamiliar with IPython: it's a Python shell replacement that adds many features for developers. It's beyond the scope of this post to go into ...

A Django Snippet to Refresh Your Database

Django doesn't have anything remotely close to migrations in Rails. It does have the syncdb management command, but that's only good for initial table creation. If you need ...

Signals in Django: Stuff That’s Not Documented (Well)

I've just spent the last few hours learning how to use signals in Django. After many, many searches on Google and much trial and error, I think I ...

Joy to the World (Wide Web)

I just made a new posting to my company's blog. I don't mind contributing content, but when I barely have time to write on my own little blog, ...

Rails is a Ghetto?

Just noticed Zed Shaw's soon to be infamous rant on Rails and the Rails community. As a little background, Zed Shaw is of course the creator of ...

About the Blog

Random thoughts on random topics. What? You wanted predictability?

Posts by Tag

Monthly Archives

  • Blogroll

  • Add to Technorati Favorites