Closed shemerey closed 10 years ago
Thanks for the PR! However I'm somewhat hesitant to merge because it looks like this issue was patched in Rails recently: rails/rails#14125. Considering it though because I doubt this will actually break anything; it'll just be unnecessary code once the next RC is released.
Yep it looks like it has been fixed in rails, so very nice :-), thx for this note
Rails 4.1.0 had released, but it looks like not contains that fix. :cry:
I think we need this PR as a workaround until rails has updated. What do you think?
Aaand looks like they've just backported the fix for next release. Le sigh.
Screw it, I'll do a bit of testing with this patch and get this merged in ASAP.
@brentd Thank you :+1:
Alright, this is in 0.1.14 with one other small tweak for Rails 4.1.0 support. Thanks @shemerey and sorry for the delay all!
Thanks for this patch =)
I've tried to use xray-rails with rails 4.1 and it just blows up with
nil
no method error. It looks like we have to provide request object for ActionController::Base directly.Here is the patch to fix it