AR::Base#attributes= is just an alias for AR::Base#assign_attributes #7710

Merged
merged 1 commit into from Sep 20, 2012

Conversation

Projects
None yet
2 participants
Owner

guilleiguaran commented Sep 20, 2012

Per request of @dhh I converted attributes= in an alias for assign_attributes since all it's doing is checking for a hash, which seems needlessly defensive

rafaelfranca added a commit that referenced this pull request Sep 20, 2012

Merge pull request #7710 from guilleiguaran/refactor-ar-attributes-me…
…thod

AR::Base#attributes= is just an alias for AR::Base#assign_attributes

@rafaelfranca rafaelfranca merged commit fa362ff into rails:master Sep 20, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment