I'm having a problem using jruby on rails with a legacy oracle database
(Oracle Database 10g Enterprise Edition Release 10.1.0.3.0). The oracle
number primary key is getting converted into a decimal, which is causing
restful style URIs not to work. For example I'm seeing URIs like
http://localhost:3000/members/show/7201.0?tab=names where the id should
be an integer, not a double, and they result in "Missing template"
A friend of mine said that the same problem arose for him when he
updated from activerecord-jdbc-adapter version 0.8 to version 0.9, which
is what I'm using. Is this a known issue? Is there a workaround short
of changing the database to use integer primary keys? That isn't an
option for us.
Here's my configuration:
jruby 1.1.6 (ruby 1.8.6 patchlevel 114) (2008-12-17 rev 8388)