10 Feb 2013 18:59
Parse error when searching events in Berlin
Hi!!
I have a problem searching events in Berlin. I have a parse error with
eventfulapi.
Psych::SyntaxError in EventsController#index
couldn't parse YAML at line 1 column 0
$ bundle exec rails --version
Rails 3.2.11
$ bundle list | grep event
* eventfulapi (2.2.1)
Then problem is in:
vendor/bundle/ruby/1.9.1/gems/eventfulapi-2.2.1/lib/eventful/api.rb (line 356)
# Raise an exception if we didn't get a 2xx response code
response.value
yaml = YAML::load response.body # <--- ERROR in Ruby on Rails
(Psych is the YAML parser)
response.body:
<pre>
events:
event:
(Continue reading)
RSS Feed