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

Use column_defaults in dirty for checking changed defaults #15775

Merged
merged 1 commit into from Jun 17, 2014

Conversation

sgrif
Copy link
Contributor

@sgrif sgrif commented Jun 17, 2014

We no longer need to "init changed attributes" from the initializer,
either, as there is no longer a case where a given value would differ
from the default, but would not already be marked as changed.

We no longer need to "init changed attributes" from the initializer,
either, as there is no longer a case where a given value would differ
from the default, but would not already be marked as changed.
rafaelfranca added a commit that referenced this pull request Jun 17, 2014
Use `column_defaults` in dirty for checking changed defaults
@rafaelfranca rafaelfranca merged commit f55ea89 into rails:master Jun 17, 2014
@sgrif sgrif deleted the sg-use-column-defaults-in-dirty branch March 14, 2018 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants