The Depot Application

The Depot Application

23.10 Caching, Part Two 23.9 Layouts and Components

23.10 Caching, Part Two

ruby script/generate model article body:text
      exists  app/models/
      exists  test/unit/
      exists  test/fixtures/
      create  app/models/article.rb
      create  test/unit/article_test.rb
      create  test/fixtures/articles.yml
      exists  db/migrate
      create  db/migrate/20100301051846_create_articles.rb
cp -v /home/rubys/git/awdwr/data/code/e1/views/app/models/article.rb app/models
`/home/rubys/git/awdwr/data/code/e1/views/app/models/article.rb' -> `app/models/article.rb'
cp -vr /home/rubys/git/awdwr/data/code/e1/views/app/views/blog app/views
`/home/rubys/git/awdwr/data/code/e1/views/app/views/blog' -> `app/views/blog'
`/home/rubys/git/awdwr/data/code/e1/views/app/views/blog/list.html.erb' -> `app/views/blog/list.html.erb'
`/home/rubys/git/awdwr/data/code/e1/views/app/views/blog/index.html.erb' -> `app/views/blog/index.html.erb'
get /blog/list
Mon Mar 01 00:18:48 -0500 2010 Mon Mar 01 00:18:48 -0500 2010
cp -vr /home/rubys/git/awdwr/data/code/e1/views/app/views/blog1 app/views
`/home/rubys/git/awdwr/data/code/e1/views/app/views/blog1' -> `app/views/blog1'
`/home/rubys/git/awdwr/data/code/e1/views/app/views/blog1/list.html.erb' -> `app/views/blog1/list.html.erb'
get /blog1/list
Mon Mar 01 00:18:49 -0500 2010 Mon Mar 01 00:18:49 -0500 2010
cp -vr /home/rubys/git/awdwr/data/code/e1/views/app/views/blog2 app/views
`/home/rubys/git/awdwr/data/code/e1/views/app/views/blog2' -> `app/views/blog2'
`/home/rubys/git/awdwr/data/code/e1/views/app/views/blog2/list.html.erb' -> `app/views/blog2/list.html.erb'
get /blog2/list

There are a total of 4 articles.

23.10 Caching, Part Two 23.9 Layouts and Components