Archive for the “Programming” category
Quick and Dirty Ruby on RAILS (more to come)
by Tony Hung on March 29, 2006
Quick and Dirty Rails 1. Create rails: “rails recipe_book” 2. Create databasei in mysql 3. Create table in database — PLURAL, e.g. “recipes” NOT “recipe” 4. EDIT ruby database so it points to database — “config/database.yml” 5. Create model of (…)