xray-rails icon indicating copy to clipboard operation
xray-rails copied to clipboard

☠️ A development tool that reveals your UI's bones

Results 34 xray-rails issues
Sort by recently updated
recently updated
newest added

In both a real app that I just upgraded to sprockets 4 and the `spec/dummy` app in this project, I noticed that `javascript_include_tag "application"` no longer injects a separate script...

We had some trouble to upgrade to sprockets 4 so I want to share our solution. Include this MP in your `application.rb` (xray-rails must allready be required) ``` config.after_initialize do...

view component is a library used by Github which grows in popularity for replacing partials. I made a Proof of concept by patching into ViewComponent render method: ```ruby # config/initializers/xray_view_component.rb...

The assumption that a project even includes/uses jQuery is rather unsafe and unusual these days. But the core of this project is still valuable in the modern post-jQuery Rails world,...

Not sure if anyone has had this issue before or I have misconfigured something badly but as far as I can tell xray-rails will not work when using jQuery from...

When loading of jQuery is deferred, the Javascript `Xray` script loads ahead of this and loads a blank object. This is a stripped down approach to allow defer loading the...

[Support of Ruby 2.4 has ended](https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/) so we should stop wasting time officially supporting it and remove it from .travis.yml. See also https://github.com/rails/sprockets/pull/672 / https://github.com/rails/sprockets/pull/604/files, which also made Ruby 2.5...

## Release xray.js on npm So we can use it with webpacker instead of rails assets pipeline Regards