ruby on rails - "private method `split' called for" -


OK, so I'm getting this error in my rail project, any help?

  Class SearchController & lt; ApplicationController requires 'rubygems' 'Open-Yuri' Df Index. @show_info enddef_dop_show @show = params {: search_artm} @ show = @ show ["search_artm"] @ tar = "http://services.tvrage.com/ Tools/quickinfo.php?show=#{@show} "@sitehtml = open (@url) rows = @sitehotel. Split ("\ n") @show_info = [] lines. Line | Line_split = line.svg split ("@") @show_infoda & lt; & Lt; Line_split [1] End of end of termination  

And I continue this error, Error (full size)

Any help? I really can not understand it.

The object you are trying to split is not a string, it is a string IO Instead of trying to .string.split on the offensive item.


Comments