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

Syntax error when using strings #10

Merged
merged 3 commits into from
Dec 1, 2012
Merged

Conversation

aaronbbrown
Copy link
Contributor

I was having trouble when the data parameter in a zone record was a string instead of an array (as is the case for CNAMEs). Ruby 1.9 deprecated implicit (and explicit) .to_a for the String type, so I created an interim variable in zone_record.rb called data_a that explicitly casts String to Array.

ajjahn added a commit that referenced this pull request Dec 1, 2012
Syntax error when using strings
@ajjahn ajjahn merged commit cebe635 into ajjahn:master Dec 1, 2012
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.

2 participants