{"issue":{"state":"closed","created_at":"2011-11-28T19:03:30Z","updated_at":"2011-11-28T20:45:54Z","user":{"gravatar_id":"4d1c9dad17af98e55cb65b4efce27c42","id":77,"url":"https://api.github.com/users/benburkert","avatar_url":"https://secure.gravatar.com/avatar/4d1c9dad17af98e55cb65b4efce27c42?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"benburkert"},"comments":1,"body":"the DNS Imple gem is crashing when i try to add a record:\r\n\r\n```\r\n~$ dnsimple record:create example.com redacted CNAME redacted.example.com\r\n/Users/ben/Developer/.rvm/gems/ruby-1.9.2-p180/gems/dnsimple-ruby-1.2.1/lib/dnsimple/record.rb:77:in `create': undefined method `name' for \"example.com\":String (NoMethodError)\r\n\tfrom /Users/ben/Developer/.rvm/gems/ruby-1.9.2-p180/gems/dnsimple-ruby-1.2.1/lib/dnsimple/commands/create_record.rb:12:in `execute'\r\n\tfrom /Users/ben/Developer/.rvm/gems/ruby-1.9.2-p180/gems/dnsimple-ruby-1.2.1/lib/dnsimple/cli.rb:15:in `execute'\r\n\tfrom /Users/ben/Developer/.rvm/gems/ruby-1.9.2-p180/gems/dnsimple-ruby-1.2.1/bin/dnsimple.rb:147:in `<top (required)>'\r\n\tfrom /Users/ben/Developer/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'\r\n\tfrom /Users/ben/Developer/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'\r\n\tfrom /Users/ben/Developer/.rvm/gems/ruby-1.9.2-p180/gems/dnsimple-ruby-1.2.1/bin/dnsimple:4:in `<top (required)>'\r\n\tfrom /Users/ben/Developer/.rvm/gems/ruby-1.9.2-p180/bin/dnsimple:19:in `load'\r\n\tfrom /Users/ben/Developer/.rvm/gems/ruby-1.9.2-p180/bin/dnsimple:19:in `<main>'\r\n```\r\n\r\nHere's the gem list:\r\n\r\n```\r\n~$ gem install dnsimple-ruby\r\nFetching: multi_json-1.0.4.gem (100%)\r\nFetching: multi_xml-0.4.1.gem (100%)\r\nFetching: httparty-0.8.1.gem (100%)\r\nWhen you HTTParty, you must party hard!\r\nFetching: dnsimple-ruby-1.2.1.gem (100%)\r\nSuccessfully installed multi_json-1.0.4\r\nSuccessfully installed multi_xml-0.4.1\r\nSuccessfully installed httparty-0.8.1\r\nSuccessfully installed dnsimple-ruby-1.2.1\r\n```\r\n\r\nHappens on 1.8.7 too.","assignee":{"gravatar_id":"31254903db793bf6f84bbd607fe092fd","id":8556,"url":"https://api.github.com/users/aeden","avatar_url":"https://secure.gravatar.com/avatar/31254903db793bf6f84bbd607fe092fd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"aeden"},"id":2371967,"labels":[],"number":9,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"undefined method `name' for \"example.com\":String (NoMethodError)","closed_at":"2011-11-28T20:45:54Z","html_url":"https://github.com/aetrion/dnsimple-ruby/issues/9","url":"https://api.github.com/repos/aetrion/dnsimple-ruby/issues/9","milestone":null},"action":"closed"}