Is it possible to define composite primary key for table using active record?
Asked 2013-07-26T13:06:05.287
10
I'm using ActiveRecord in a ruby project without rails. I need to define composite primary key for a table.Normally migration creates primary key automatically. Is it possible to define my own composite primary key for a table using active record?