Dinesh wrote:
I'm using Rails with DB2 Database. The tables in the database are NOT rails conventions, and there is no 'id' column too in the tables.
Can you use the SQL VIEW statement to rename things to Rails's liking? VIEW is very powerful, and could fix the "problem" at its source.
In a multi-layered system like a website stack, I always seek to solve the problem in the most convenient (and efficient) layer...