I'm connecting a Rails application to another database and can't change the schema. This other database has a NOT NULL
constraint on the id field for all of its tables (using uuid for id's).
I'm trying to assign an id
manually in a before_create
but it seems the attribute is protected.
Any way around this?
Rails 5.0.0