Column Names in Legecy Tables

maybe like this :

class Employee < ActiveRecord::Base   set_table_name "employee"

end

the in irb:

puts Employee.column_names

maybe show us the table structure, would be helpfull to see it, concering primary key setup and the like ...