Can table ID column be a string?


Does rails assume that all table columns called “id” are int’s?
Asking because I am connecting to a non-rails db and some of the
tables have an id column that is defined as string.


see here:

for a start.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs