I am trying to update my rails application from version 4.1.6 to 4.2.0. Almost all are going well, except that I have two database connections (one is the default Postgres and other is used for reading data from another legacy application). The second uses Firebird (fb) adapter. In Rails 4.2 I cannot do anything with this second (fb) database. All commands result in this error:
NoMethodError: undefined method `compile' for #
To reproduce the case, I created a new application from scratch using adapter 'fb' and a simple model called Foo with two string columns. After I called from rails console the command
Foo.count the result is the same.
I tried to investigate the sources but I could not determine where is the problem. I think it has due to some changes/optimizations in activerecord in version 4.2 but I don't know exactly.
Thanks in advance by any help.