e_dub has quit [Ping timeout: 256 seconds]
e_dub has joined #opal
dominictarr has quit [Quit: dominictarr]
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Ping timeout: 268 seconds]
e_dub has joined #opal
vwoo has joined #opal
elia has joined #opal
e_dub has quit [Ping timeout: 264 seconds]
dominictarr has joined #opal
e_dub has joined #opal
chap has joined #opal
adambeynon has joined #opal
kludge` has quit [Ping timeout: 256 seconds]
kludge` has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
meh` has joined #opal
chap has joined #opal
e_dub has quit [Ping timeout: 256 seconds]
e_dub has joined #opal
chap has quit [Read error: Connection reset by peer]
chap has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
chap has joined #opal
Tim-Blokdijk has joined #opal
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Tim-Blokdijk> Hello, is there someone that knows what's wrong when I get "ActionView::Template::Error (Filter "opal" is not defined.):" ?
<Tim-Blokdijk> Trying Opal for the first time, Rails 4, Ruby 2, Haml.
<Tim-Blokdijk> I have: :opal
<Tim-Blokdijk> I have:
<Tim-Blokdijk> :opal
<Tim-Blokdijk> puts "Opal works!"
<Tim-Blokdijk> In an Haml file, giving the "ActionView::Template::Error (Filter "opal" is not defined.):" error.
<meh`> elia, ^
<elia> thanks meh`
<elia> Tim-Blokdijk: looking into it
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
<Tim-Blokdijk> I do get output in the browser console when I put 'puts "Opal works!"' in hi-world.js.opal as a javascript asset.
<Tim-Blokdijk> So I suspect it's something with the haml integration.
<elia> Tim-Blokdijk: can you past your gemfile somewhere?
<Tim-Blokdijk> sure
<elia> Tim-Blokdijk: here's the problem: require 'opal/rails/haml_filter' if defined?(Haml)
<elia> that's how the filter is loaded
<elia> it's enough to require haml before opal-rails or require the filter inside an initializer
<Tim-Blokdijk> Let me try..
<Tim-Blokdijk> Yes, that fixed it.
<Tim-Blokdijk> Reading the documentation at: https://github.com/opal/opal-rails#readme
<Tim-Blokdijk> It's not mentioned, "someone" should fix it.
<Tim-Blokdijk> Thanks for the help, lets see what's possible with Opal.
e_dub has quit [Quit: It's a hard knock life]
<elia> Tim-Blokdijk: I'll move the loading to a rails initializer, that way load order shouldn't be an issue anymore
<Tim-Blokdijk> Probably the best thing to do, don't wait to long with a new version as load order errors bite. Without your help I would have moved on.
Tim-Blokdijk has quit [Quit: Ex-Chat]
kludge` has quit [Remote host closed the connection]
GitHub24 has joined #opal
GitHub24 has left #opal [#opal]
<GitHub24> [opal-rails] elia pushed 1 new commit to master: http://git.io/kh1rVw
<GitHub24> opal-rails/master 74818fe Elia Schito: Move Haml filter loading to after initialization...
kludge` has joined #opal
dominictarr has quit [Quit: dominictarr]
dominictarr has joined #opal
markluffel has joined #opal
markluffel has quit [Quit: Coyote finally caught me]
GitHub85 has joined #opal
GitHub85 has left #opal [#opal]
<GitHub85> opal-spec/master f0b826d Elia Schito: v0.3.1...
<GitHub85> [opal-spec] elia pushed 1 new commit to master: http://git.io/AfKKbg
elia has quit [Read error: Connection reset by peer]
elia has joined #opal
GitHub96 has joined #opal
GitHub96 has left #opal [#opal]
<GitHub96> [opal-rails] elia pushed 3 new commits to master: http://git.io/7_l0Ig
<GitHub96> opal-rails/master 8b0da63 Elia Schito: Prepare for release
<GitHub96> opal-rails/master cb42391 Elia Schito: Move source map spec to integration...
<GitHub96> opal-rails/master 2a92455 Elia Schito: Add travis => IRC notification
vwoo has joined #opal
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal-rails#55 (master - 8b0da63 : Elia Schito): The build was fixed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal-rails/builds/10508962
travis-ci has left #opal [#opal]
chap has joined #opal
chap has quit [Ping timeout: 260 seconds]
vwoo has quit [Quit: Computer has gone to sleep.]
chap has joined #opal
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
chap has joined #opal
meh` has quit [Ping timeout: 256 seconds]
meh` has joined #opal
chap has quit [Read error: Operation timed out]
vwoo has joined #opal
vwoo has quit [Quit: Textual IRC Client: www.textualapp.com]
elia has quit [Quit: Computer has gone to sleep.]