Code Snippets

Rails 2.x start up (boot up) process

Here’s a “hierarchal summary” of The Rails startup process from a paragliders perspective – artweb design. By hierarchal, I mean its organized by how the code is executed. By summary, I mean things that I was interested in. Rais app starts by running  environment.rb boot.rb is required (require File.join(File.dirname(__FILE__), ‘boot’)) Defines RAILS_ROOT constant (points to…

Code Snippets

No Titles After Importing Blogger To WordPress

I imported an old Blogger account into a WordPress blog recently and my titles did not import correctly. So there I was stuck with 500 posts with no titles. I decided the easiest way to fix that would be to copy the post dates from the Blogger account to the titles in WordPress. So here is a fairly quick and dirty way to import qd_db_posts.post_date to qd_db_posts.post_title.

This will all be completed from your OS shell which in this case was CentOS 5.2.