データベースに初期データを投入する。
$ rake db:seed
# db/seeds.rb
Category.create(:name => "Railsの基礎知識", :position => 1)
Category.create(:name => "Rubyの基礎知識", :position => 2)
# db/seeds.rb
5.times do |i|
Page.create(:name => "テスト #{i}", :category_id => 1)
end