{"issue":{"title":"Undefined method error","user":{"login":"jmangoubi","id":1252734,"url":"https://api.github.com/users/jmangoubi","avatar_url":"https://secure.gravatar.com/avatar/3615a040974c6b7d3c4f0cbffc739915?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3615a040974c6b7d3c4f0cbffc739915"},"created_at":"2011-12-28T16:48:50Z","milestone":null,"labels":[],"state":"open","updated_at":"2011-12-28T17:12:57Z","id":2672735,"closed_at":null,"html_url":"https://github.com/thoughtfusion/suitcase/issues/1","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Firstly, thank you for building this gem.  Once I get it working, It will be awesome.  However, I received this error, after following your instructions.\r\n\r\nNoMethodError: undefined method `rooms' for #<Array:0x224492c>\r\n\r\nAny ideas?","number":1,"url":"https://api.github.com/repos/thoughtfusion/suitcase/issues/1","comments":1,"assignee":null},"comment":{"user":{"login":"thoughtfusion","id":654571,"url":"https://api.github.com/users/thoughtfusion","avatar_url":"https://secure.gravatar.com/avatar/0be56791449099fc8ff496e1add2728b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0be56791449099fc8ff496e1add2728b"},"created_at":"2011-12-28T17:12:57Z","updated_at":"2011-12-28T17:12:57Z","id":3292827,"body":"Hi,\r\n\r\nFrom your problem, it looks like you're doing a Hotel.find(:location => ..) call? If you are, this returns an Array of hotels. You'll want to grab a specific hotel from that array instead, and call rooms on it.\r\n\r\nLet me know if that works.","url":"https://api.github.com/repos/thoughtfusion/suitcase/issues/comments/3292827"},"action":"created"}