00:02
e_dub has quit [Ping timeout: 256 seconds]
00:16
e_dub has joined #opal
00:20
dominictarr has quit [Quit: dominictarr]
00:34
vwoo has quit [Quit: Computer has gone to sleep.]
00:56
vwoo has joined #opal
01:37
vwoo has quit [Quit: Computer has gone to sleep.]
04:02
e_dub has quit [Ping timeout: 268 seconds]
04:15
e_dub has joined #opal
07:13
vwoo has joined #opal
07:44
elia has joined #opal
08:02
e_dub has quit [Ping timeout: 264 seconds]
08:02
dominictarr has joined #opal
08:14
e_dub has joined #opal
08:40
chap has joined #opal
09:13
adambeynon has joined #opal
09:32
kludge` has quit [Ping timeout: 256 seconds]
09:36
kludge` has joined #opal
09:49
vwoo has quit [Quit: Computer has gone to sleep.]
09:50
vwoo has joined #opal
11:33
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
11:53
meh` has joined #opal
11:54
chap has joined #opal
12:02
e_dub has quit [Ping timeout: 256 seconds]
12:15
e_dub has joined #opal
12:22
chap has quit [Read error: Connection reset by peer]
12:22
chap has joined #opal
12:32
vwoo has quit [Quit: Computer has gone to sleep.]
12:37
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
12:37
chap has joined #opal
12:54
Tim-Blokdijk has joined #opal
13:07
<
Tim-Blokdijk >
Hello, is there someone that knows what's wrong when I get "ActionView::Template::Error (Filter "opal" is not defined.):" ?
13:07
<
Tim-Blokdijk >
Trying Opal for the first time, Rails 4, Ruby 2, Haml.
13:08
<
Tim-Blokdijk >
I have: :opal
13:09
<
Tim-Blokdijk >
I have:
13:09
<
Tim-Blokdijk >
:opal
13:09
<
Tim-Blokdijk >
puts "Opal works!"
13:09
<
Tim-Blokdijk >
In an Haml file, giving the "ActionView::Template::Error (Filter "opal" is not defined.):" error.
13:11
<
elia >
Tim-Blokdijk: looking into it
13:15
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
13:17
<
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.
13:17
<
Tim-Blokdijk >
So I suspect it's something with the haml integration.
13:27
<
elia >
Tim-Blokdijk: can you past your gemfile somewhere?
13:27
<
Tim-Blokdijk >
sure
13:39
<
elia >
Tim-Blokdijk: here's the problem: require 'opal/rails/haml_filter' if defined?(Haml)
13:39
<
elia >
that's how the filter is loaded
13:40
<
elia >
it's enough to require haml before opal-rails or require the filter inside an initializer
13:40
<
Tim-Blokdijk >
Let me try..
13:43
<
Tim-Blokdijk >
Yes, that fixed it.
13:46
<
Tim-Blokdijk >
It's not mentioned, "someone" should fix it.
13:48
<
Tim-Blokdijk >
Thanks for the help, lets see what's possible with Opal.
14:01
e_dub has quit [Quit: It's a hard knock life]
14:30
<
elia >
Tim-Blokdijk: I'll move the loading to a rails initializer, that way load order shouldn't be an issue anymore
14:37
<
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.
15:33
Tim-Blokdijk has quit [Quit: Ex-Chat]
16:00
kludge` has quit [Remote host closed the connection]
16:03
GitHub24 has joined #opal
16:03
GitHub24 has left #opal [#opal]
16:03
<
GitHub24 >
opal-rails/master 74818fe Elia Schito: Move Haml filter loading to after initialization...
16:04
kludge` has joined #opal
16:43
dominictarr has quit [Quit: dominictarr]
17:20
dominictarr has joined #opal
18:14
markluffel has joined #opal
18:24
markluffel has quit [Quit: Coyote finally caught me]
18:32
GitHub85 has joined #opal
18:32
GitHub85 has left #opal [#opal]
18:32
<
GitHub85 >
opal-spec/master f0b826d Elia Schito: v0.3.1...
18:57
elia has quit [Read error: Connection reset by peer]
18:58
elia has joined #opal
19:27
GitHub96 has joined #opal
19:27
GitHub96 has left #opal [#opal]
19:27
<
GitHub96 >
opal-rails/master 8b0da63 Elia Schito: Prepare for release
19:27
<
GitHub96 >
opal-rails/master cb42391 Elia Schito: Move source map spec to integration...
19:27
<
GitHub96 >
opal-rails/master 2a92455 Elia Schito: Add travis => IRC notification
19:37
vwoo has joined #opal
19:37
travis-ci has joined #opal
19:37
<
travis-ci >
[travis-ci] opal/opal-rails#55 (master - 8b0da63 : Elia Schito): The build was fixed.
19:37
travis-ci has left #opal [#opal]
19:44
chap has joined #opal
20:16
chap has quit [Ping timeout: 260 seconds]
20:20
vwoo has quit [Quit: Computer has gone to sleep.]
21:22
chap has joined #opal
21:32
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
21:33
chap has joined #opal
21:41
meh` has quit [Ping timeout: 256 seconds]
21:42
meh` has joined #opal
21:54
chap has quit [Read error: Operation timed out]
22:22
vwoo has joined #opal
23:40
elia has quit [Quit: Computer has gone to sleep.]