Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UUID column with null: true and default: nil #29278

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented May 29, 2017

quote_default_expression can be passed nil value when null: true and
default: nil. This addressed in that case.

Fixes #29222.

`quote_default_expression` can be passed nil value when `null: true` and
`default: nil`. This addressed in that case.

Fixes rails#29222.
@kamipo kamipo force-pushed the fix_uuid_column_with_null_true_and_default_nil branch from 68eb24d to a0d1776 Compare May 30, 2017 00:00
@rafaelfranca rafaelfranca merged commit 0aa6bcd into rails:master May 30, 2017
rafaelfranca added a commit that referenced this pull request May 30, 2017
…and_default_nil

Fix UUID column with `null: true` and `default: nil`
@rafaelfranca
Copy link
Member

Backported in 6bd0210

@fxn
Copy link
Member

fxn commented May 30, 2017

👍🏼

@kamipo kamipo deleted the fix_uuid_column_with_null_true_and_default_nil branch May 30, 2017 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants