Это мой код
class Project < ActiveResource::Base
self.site = "https://xyz.unfuddle.com/api/v1"
def get_tickets
ticket_array = []
Project.all.each do |project|
project.get(:tickets).each do |ticket|
#save ticket or something
end
end
end
end
Ошибка происходит в project.get (: tickets)
lexical error: invalid character inside string.
16 ": "There is text that shouldn^Zt be there on the DVD/Blu-ray
17 (right here) ------^
Как я могу проверить, прежде чем получить, если возвращаемый текст содержит только допустимые символы?