浏览 4937 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-05-16
学习了一下ror,使用其中的脚手架命令scafflod,想感觉一下ror告诉我的轻松、美好的开发感觉,但是却报了一个错误。命令错误如下: java 代码
环境:ruby:186-25,db:postgresql8.1,driver:postgres-0.7.1 database.yml: ruby 代码
通过radrails的data视图可以查看数据库里的表,并能做select。 不知道是什么问题,难道是因为postgresql里有多个服务器导致的?(通过pgadmin查看有2个server) 先试下mysql,看看会不会有类似问题。 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-05-16
可恶,果然换了mysql,新建schema和table后,脚手架成功。问题究竟处在postgresql什么地方呢?
另外声讨一下http://media.pragprog.com,本来想偷懒去他那把“应用rails进行敏捷开发”的示例源码下载下来,他却给我个这个页面: We're sorry, but access is denied to that document. This might be because you are accessing this site from a machine in China. Because of a massive amount of robot traffic from Chinese machines, we've had to take the unfortunate step of blocking access from those IPs. If you feel that access has been denied in error, please contact our support folks. |
|
返回顶楼 | |
发表时间:2007-05-17
former 写道 可恶,果然换了mysql,新建schema和table后,脚手架成功。问题究竟处在postgresql什么地方呢?
另外声讨一下http://media.pragprog.com,本来想偷懒去他那把“应用rails进行敏捷开发”的示例源码下载下来,他却给我个这个页面: We're sorry, but access is denied to that document. This might be because you are accessing this site from a machine in China. Because of a massive amount of robot traffic from Chinese machines, we've had to take the unfortunate step of blocking access from those IPs. If you feel that access has been denied in error, please contact our support folks. http://download.iteye.com/code/rails2-code.zip Is this? |
|
返回顶楼 | |
发表时间:2007-05-17
xxj 写道 former 写道 可恶,果然换了mysql,新建schema和table后,脚手架成功。问题究竟处在postgresql什么地方呢?
另外声讨一下http://media.pragprog.com,本来想偷懒去他那把“应用rails进行敏捷开发”的示例源码下载下来,他却给我个这个页面: We're sorry, but access is denied to that document. This might be because you are accessing this site from a machine in China. Because of a massive amount of robot traffic from Chinese machines, we've had to take the unfortunate step of blocking access from those IPs. If you feel that access has been denied in error, please contact our support folks. http://download.iteye.com/code/rails2-code.zip Is this? 应该是的,现在下不了,先谢谢! |
|
返回顶楼 | |
发表时间:2007-05-17
xxj 写道 former 写道 可恶,果然换了mysql,新建schema和table后,脚手架成功。问题究竟处在postgresql什么地方呢?
另外声讨一下http://media.pragprog.com,本来想偷懒去他那把“应用rails进行敏捷开发”的示例源码下载下来,他却给我个这个页面: We're sorry, but access is denied to that document. This might be because you are accessing this site from a machine in China. Because of a massive amount of robot traffic from Chinese machines, we've had to take the unfortunate step of blocking access from those IPs. If you feel that access has been denied in error, please contact our support folks. http://download.iteye.com/code/rails2-code.zip Is this? 应该是的,现在下不了,谢谢先。 |
|
返回顶楼 | |