bosko / rmre

Rails 3 models reverse engineering
MIT License
126 stars 36 forks source link

Composite primary keys #27

Open djvs opened 8 years ago

djvs commented 8 years ago

The generated models do not support composite primary keys. Not sure if bug report or feature request really. I got around it by using this gem:

https://github.com/composite-primary-keys/composite_primary_keys

and manually editing the produced results. This was an issue quickly with a data set I was working with.

You may want to at least produce a warning and ask the user how to proceed when generating models?

bosko commented 8 years ago

It would be good if you can implement this and create pull request.