It looks like you are trying to match an integer (INT) with a text
string (VARCHAR) and that is what Oracle is complaning about. You
should drop the quotes in the select statement.
But the problem is that I am using the Rails scaffold, so I don't have
control of the ActiveRecord statements, and I am pretty sure that my
id column is a number (and my table, columns are named as the RoR
documentation suggests).
This is my first experience with RoR and Oracle, and I would like to
know if someone, trying to implement a basic CRUD application using an
Oracle Database, a simple table and a sequence, have solved.
But, I am just trying to implement my first RoR application against an Oracle DB.
So, I don’t know why the Rail scaffold is generating my application implementing my Id as a VARCHAR, it should be a NUMBER. My question is how to solve the problem within my generation process ( I mean the only things I have made are: installing the oci8 gem, generate my app and then use the rails scripting to get my customers CRUD…)