Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Allow Model#generate_attributes to get a hash of attributes #10

Closed
wants to merge 3 commits into from

Conversation

calavera
Copy link

For consistency with Model#generate and Model#make, Model#generate_attributes should allow to take a hash of attributes.

Anders Törnqvist and Jonas Nicklas added 3 commits June 28, 2011 10:28
It's very confusing to have both a local variable
and a method invocation with the same name in the
same method.
@calavera calavera closed this Feb 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant