Im using the Ruby Asana gem https://github.com/rbright/asana.
As per the documentation, in my controller I have:
tag = Asana::Tag.find(6498432136675)
@waiting_tasks = tag.tasks
However, this returns:
Failed. Response code = 400. Response message = Bad Request.
I have confirmed that the id is correct. If i use:
puts tag.inspect
I get the following:
#<Asana::Tag:0x007f94432af498 @attributes={"id"=>6498432136675, "created_at"=>"2013-07-14T10:05:13.070Z", "name"=>"Waiting for", "notes"=>"", "workspace"=>#<Asana::Workspace:0x007f94432aea98 @attributes={"id"=>6399696678844, "name"=>"Ministry of Crazy Ideas"}, @prefix_options={}, @persisted=false>, "color"=>"light-teal", "followers"=>[]}, @prefix_options={}, @persisted=true>
I dont understand why this is not returning the tasks as documented in the read me. If anyone can shed any light on this I would be hugely grateful.