lib/provider/comment.rb in ticketmaster-rally-0.1.2 vs lib/provider/comment.rb in ticketmaster-rally-0.2.2
- old
+ new
@@ -55,10 +55,10 @@
def self.find_by_id(project_id, ticket_id, id)
project = self.rally_project(project_id)
# Rally Ruby REST API expects IDs as strings
# For id.to_s see note on Project::id
- query_result = TicketMaster::Provider::Rally.rally.find(:conversation_post, :fetch => true, :project => project) { equal :object_i_d, id.to_s }
+ query_result = TicketMaster::Provider::Rally.rally.find(:conversation_post, :fetch => false, :project => project) { equal :object_i_d, id.to_s }
self.new query_result.first, project_id
end
# Accepts a project id, ticket id and attributes hash and returns all
# comments matching the project, ticket and those attributes in an array