@tamatsyk This sounds like an error with that gem. In my opinion, I woul just make your models as needed. Doing a model to a legacy DB is at most two lines of inner model code. One to set the table name and second to optionally set primary key. I realize there are associations... but only build what you need. By doing so, you will garner a stronger insight into what in fact is needed vs what is generated. Hope that helps.