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

Add copy #3

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Add copy #3

wants to merge 9 commits into from

Conversation

jroesch
Copy link

@jroesch jroesch commented Jul 21, 2014

No description provided.

u2.save!
u.save!
assert u.send(dup).instance_variable_get(:@_attr_defaults_set_from_dup)
assert_equal 'overridden', u.send(dup).last_name
assert u.send(copy, :new_record => true).instance_variable_get(:@_attr_defaults_set_from_dup)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vocab change from dup to copy!

@ColinDKelley
Copy link
Contributor

👍

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