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

Merged
merged 1 commit into from Sep 20, 2012

Projects

None yet

2 participants

@guilleiguaran
Ruby on Rails member

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 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