I'm trying to run the regresttion test scripts on a firebird database.
I'm getting a lot of errors where the query being created is using =
NULL in the where clause. One specific place that is fails is as
ActiveRecord::StatementInvalid: FireRuby::FireRubyException: Error
preparing a SQL statement.
Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, char 59
SQL Code = -104
Firebird Code = 335544569
: SELECT * FROM audit_logs WHERE (audit_logs.developer_id = NULL)
This line in the test is doing something like this
developer = Developer.create :name => "Bryan" :salary => 50_000
Firebird uses the prefetch sequence generate stuff and I know that a
sequence number has been fetched but for whatever reason in the create
when it's trying to load the associations it's trying to query = NULL
instead of the actually id of the class. Can someone point me in the
right direction of something to look at to correct this problem.