two different errors

Subscribe to two different errors 2 post(s), 2 voice(s)

 
Avatar Pirkka Harti... 1 post(s)

Anyone else getting these errors trying to run tuneup?
ActionView::TemplateError (can’t convert Fixnum into String) on line #5 of usr/local/lib/ruby/gems/1.8/gems/fiveruns_tuneup-0.8.16/views/tuneup/_data.html.erb:
5: <%= link_to trend + tuneup_data.time.to_i, ’#’ %> ms
on some other pages of my app I get this:
ActionView::TemplateError (You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.+) on line #5 of usr/local/lib/ruby/gems/1.8/gems/fiveruns_tuneup-0.8.16/views/tuneup/_data.html.erb:
5: <%= link_to trend + tuneup_data.time.to_i, ’#’ %> ms
It’s discouraging, none of my pages seem to work with TuneUp this far!
(ps. how do you add paragraph breaks in the messages?)

 
Avatar Rachel G Administator 50 post(s)

Hi Pirkka,
We are looking into these errors. However, some others have had luck with making the following change:
Changed the line 5 of _data.html.erb to:
<%= link_to trend + tuneup_data.time.to_i.to_s, ’#’ %> ms
(adding the ā€.to_sā€).
Thanks,
Rachel