odie’s webmemory

Entries from January 2007

Third place to go

January 7, 2007 · Leave a Comment

Thank God Starbucks created a third place to go. First two being home and work. It is easier to code/study when there’s noise in the background and other people also slaving away. At least for me. Although, I’m at Caribou, not Starbucks.

Categories: personal

Checklist for a new Rails project

January 7, 2007 · Leave a Comment

Here’s a cheat sheet to starting a new rails project.

  1. Create the rails proj (rails proj_name)
  2. Update the database connection (config\database.yml)
  3. Create the database (create database)
  4. Generate the model (ruby script\generate model)
  5. Edit the migration file (db\migrate\…)
  6. Create database table for the model (db\migrate\rake migrate)
  7. Generate the scaffold (ruby script\generate model controller)
  8. Run the server (ruby script\server)
  9. Run the app (http://localhost:3000/controller)
  10. Eat the cake

Categories: rubyonrails

Welcome 2007!

January 1, 2007 · Leave a Comment

Happy 2007!  Let the coding fun begin.

Categories: personal