Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Helmut Steinberger
RE: Problem with fireruby [ reply ]  
2008-09-04 05:26
Hello Sergey,

unfortunately I did not find a solution for this problem.
As I remember, I had this problem only with ROR 2.1. So I downgraded to 2.0, where it worked fine.
For now I stopped using ROR, for I have to work on another project.

cu
Helmut

By: Sergey Bromirsky
RE: Problem with fireruby [ reply ]  
2008-09-03 09:19
Hello Helmut,

I have the same problem when migrate Firebird database. There was also error "select_rows is an abstract method". Adding select_rows method to Firebird adapter fixed the problem, but I stuck on the problem with double NULLs too. Were you able to find the solution for this problem? If yes could you plese share it with me?

Thank you,
Sergey

By: Helmut Steinberger
Problem with fireruby [ reply ]  
2008-06-05 18:30
Hello,

when I want to migrate I get an error message:
rake aborted!

FireRuby::FireRubyException: Error preparing a SQL statement.

Dynamic SQL Error

SQL error code = -104

Token unknown - line 1, column 91

NULL

Invalid token

SQL Code = -104

Firebird Code = 335544569

: CREATE TABLE "POSTS" ("ID" BIGINT NOT NULL PRIMARY KEY, "TITLE" varchar(255) DEFAULT NULL NULL, "CREATED_AT" timestamp DEFAULT NULL NULL, "UPDATED_AT" timestamp DEFAULT NULL NULL)

DEFAULT NULL NULL is the problem. Why is NULL postet twice?

I use rails 2.1, activerecord-firebird-adapter-1.0.0.9250.

Does anyone know how to get it working?

cu
Helmut