You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that as soon as you call response.body the response is ruined and a blank page is shown to the user. You might want to replace response.body.is_a?(String) with response.instance_eval{ @body.is_a?(String) }
The text was updated successfully, but these errors were encountered:
[jshraibman@Joseph-Shraibmans-MacBook-Pro master ~/work/query_reviewer]$ rake test
rake aborted!
ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead.
/Users/jshraibman/work/query_reviewer/Rakefile:3:in `<top (required)>'
(See full trace by running task with --trace)
The problem is this code ( https://github.com/nesquena/query_reviewer/blob/master/lib/query_reviewer/controller_extensions.rb#L42 )
The problem is that as soon as you call response.body the response is ruined and a blank page is shown to the user. You might want to replace
response.body.is_a?(String)
withresponse.instance_eval{ @body.is_a?(String) }
The text was updated successfully, but these errors were encountered: