Closed seuros closed 10 years ago
When creating a table with uuid as primary key
create_table "people", id: :uuid do |t| t.string "name" t.string "age" end
The default value set by rails is not set which cause error when adding a new record.
Thanks for reporting this. What version of Rails are you using?
I tried in both 4.1.1 and 4.2.alpha.
@seuros please confirm if the proposed fix is working for you.
Confirmed to work in 4.1 and 4.2. :+1:
When creating a table with uuid as primary key
The default value set by rails is not set which cause error when adding a new record.