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

Remove strict Eloquent getDirty() comparison #2829

Closed
wants to merge 1 commit into from
Closed

Remove strict Eloquent getDirty() comparison #2829

wants to merge 1 commit into from

Conversation

huglester
Copy link
Contributor

I think this should be removed.
because if we have integer fields, like country_id, it will always return as changed, because it will be compairing int vs string. as items coming from mysql are all strings

I think this should be removed.
because if we have integer fields, like country_id, it will always return as changed, because it'll be compairing int vs string. as items coming from mysql are all strings
@taylorotwell
Copy link
Member

This breaks other scenarios.

@huglester huglester deleted the patch-1 branch November 29, 2013 01:41
@huglester
Copy link
Contributor Author

Can you please be more specific?

as for now I just extended the eloquent to fix that issue for me.
And want to be sure it won't break all the eloquent :)

Thank you

@crynobone
Copy link
Member

#1429

@huglester
Copy link
Contributor Author

wow. thanks @crynobone , that clears things up :) !

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

3 participants