带有 rails 个应用程序的 Firebird 数据库
Firebird database with rails app
当我执行 rake db:schema:dump
时,我进入 schema.rb:
无法转储 table "xxx" 因为遵循 NoMethodError
"INTEGER":String
的未定义方法“limit”
这是应用程序的问题,因为在新数据库上我遇到了同样的错误。
我正在使用 flamerobin,我需要用它来创建数据库。
我正在使用 https://github.com/rowland/activerecord-fb-adapter 连接到我的数据库。
您显然不是唯一遇到此问题的人:https://github.com/rowland/activerecord-fb-adapter/issues/67。似乎是 gem 问题。
好的,我只是重新安装我的 ruby 从头开始做所有事情(我需要将 fbclient.dll 从 firebird 安装文件夹移动到磁盘:ruby/bin),现在一切正常:)
当我执行 rake db:schema:dump
时,我进入 schema.rb:
无法转储 table "xxx" 因为遵循 NoMethodError
"INTEGER":String
这是应用程序的问题,因为在新数据库上我遇到了同样的错误。 我正在使用 flamerobin,我需要用它来创建数据库。
我正在使用 https://github.com/rowland/activerecord-fb-adapter 连接到我的数据库。
您显然不是唯一遇到此问题的人:https://github.com/rowland/activerecord-fb-adapter/issues/67。似乎是 gem 问题。
好的,我只是重新安装我的 ruby 从头开始做所有事情(我需要将 fbclient.dll 从 firebird 安装文件夹移动到磁盘:ruby/bin),现在一切正常:)