2007-12-30

rails 入门笔记三

关键字: rails 入门
the point: gem install rails --version=1.2.6 另外 rake.cmd db:migrate 是根据数据库中的schme_info这个表来修改数据库的 所以如果对表和schme_info 的状态不同步了 那么删掉这个试试 还有schme.rb rails depot --database=mysql
2007-12-30

rails入门笔记二

关键字: rails 入门
It make me confused so much. When I just downloaded the book named Agile **** I found there is the 2nd version of the book. so i found and downloaded the 2nd version. but when I write the depot follow the book. Some unhappy thing happend. Such as scaffold is as a plugin for rails 2.0. But th ...
development: adapter: mysql database: login host: localhost username: root password: 1234 test: adapter: mysql database: login_test host: localhost username: root password: 1234 production: adapter: mysql database: login_production host: localhost username: root passwo ...