opal-rails
opal-rails copied to clipboard
Bringing Ruby to Rails · Rails bindings for Opal
Using Rails 6.0.1 and opal-rails 1.1.2: application.js contains: ``` //= require opal Opal.require("opal") ``` JS-file renders (the page loads), but the browser gives an error: `LoadError: cannot load such file...
Hello I got some issue on installation
`./bin/rails g opal:install` raises ``` No such file or directory @ rb_sysopen - app/views/layouts/application.html.erb ``` if the layout is not erb. Since it mentions the haml filter below, i thought...
Currently it's not possible to pass `html_options` to the `javascript_tag`. So the following is not possible ``` opal_tag nonce: true do # some javascript end ``` This PR fixes that...
Hi, Seems like i'm running into a version issue with latest rails.. Heres the output of bundler. I use chruby to switch rubies and its currently set to ruby 3.4.1....