Closed julioprotzek closed 10 years ago
Interesting. Haven't tried the 4.1.0 beta yet, would love a patch to fix this.
I'm not calling a method variant
anywhere to my knowledge. Sounds like a rubygems thing.
I am seeing the same thing. Here's the last half dozen lines in the stack trace
NoMethodError - undefined method variant' for nil:NilClass: actionpack (4.1.0.beta1) lib/abstract_controller/rendering.rb:108:in
_normalize_render'
actionpack (4.1.0.beta1) lib/abstract_controller/rendering.rb:41:in render_to_string' actionpack (4.1.0.beta1) lib/action_controller/metal/rendering.rb:19:in
render_to_string'
xray-rails (0.1.12) lib/xray/middleware.rb:65:in xray_bar' xray-rails (0.1.12) lib/xray/middleware.rb:40:in
block in call'
xray-rails (0.1.12) lib/xray/middleware.rb:40:in `call'
Same here...
Closing this. If you're using Rails 4.1.0, use git HEAD for fix above.
Awesome!
On Friday, March 7, 2014 at 2:06 PM, Brent Dillingham wrote:
Closed #32 (https://github.com/brentd/xray-rails/issues/32).
— Reply to this email directly or view it on GitHub (https://github.com/brentd/xray-rails/issues/32).
Hasn't this been addressed yet in the gem itself? Still getting this error, even when referencing MASTER:
gem 'xray-rails', github: 'brentd/xray-rails' # Reveals your UI's bones with Cmd-X/Ctrl-X
@jmuheim not yet. see #38. I'm going to do some testing today and hopefully get a release out.
I am getting this issue any update?
@peeyushsingla the new version of xray-rails already solves the problem.
I'm getting the same issue with rails 5.0.0
Adding following version to Gemfile
Raises the following exception: