<adam12>
rapha: I just noticed it might have a bug, since passing 4 gets me a value I don't expect. And it might not work because of whitespace. But it's interesting.
<adam12>
rapha: stringscanner might be interesting here too, but maybe overkill.
<rapha>
adam12: StringScanner can't look behind though ... so maybe not the best tool.
<rapha>
I do wonder what nakilon meant when they said they'd use regex. Can't see how that'd work.
roadie has quit [Read error: Connection reset by peer]
roadie has joined #ruby
Oxfuxxx has quit [Ping timeout: 248 seconds]
Oxfuxxx has joined #ruby
Oxfuxxx has quit [Read error: Connection reset by peer]
noa has joined #ruby
kenliten has joined #ruby
Oxfuxxx has joined #ruby
<kenliten>
Hi guys, I'm having troubles with jquery in rails 6.1.2.
<kenliten>
I've trying to add it to the assets pipeline with the 'official' gem, without success
<kenliten>
Til now, the only way I can use it is adding the cdn
kenliten has left #ruby [#ruby]
kenliten has joined #ruby
Milos_ has joined #ruby
<kenliten>
I've already tried with `//= require jquery`, `import * from 'jquery'` nothing works
Milos has quit [Ping timeout: 250 seconds]
<kenliten>
And the second one... I've been learning rails the last 3 months, and have no idea how to integrate correctly javascript (I really use a little unobstrusive javascript, but feel stuck and, my files go big, really big quickly), any advise?
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
belak has quit [Ping timeout: 268 seconds]
belak has joined #ruby
Oxfuxxx_ has joined #ruby
Oxfuxxx has quit [Ping timeout: 252 seconds]
_ht has joined #ruby
kenliten has quit [Ping timeout: 240 seconds]
mattil has joined #ruby
Oxfuxxx_ has quit [Ping timeout: 250 seconds]
Oxfuxxx has joined #ruby
roadie has quit [Remote host closed the connection]
roadie has joined #ruby
Oxfuxxx has quit [Ping timeout: 252 seconds]
Oxfuxxx has joined #ruby
Oxfuxxx has quit [Read error: Connection reset by peer]
Oxfuxxx has joined #ruby
noa has quit [Quit: Konversation terminated!]
lunarkitty has quit [Quit: Connection closed for inactivity]
<mikrosis>
no implicit conversion of String into Integer
<mikrosis>
hmmm maybe my data structure is not as I thought
<mikrosis>
ahh
<mikrosis>
nvm my loop doesn't loop through the items
<mikrosis>
there is one level above...
<mikrosis>
leftylink: is there a convenient function that takes a hash and the field name and then generates an array with the value of that key for each hash entry?
<mikrosis>
like persons hash and I want an array of lastname ?
<mikrosis>
I could loop the thing but I try to use existing functions
<leftylink>
that sounds too specific for someting that would be in the standard library. the standard library would instead have general building blocks that are to be used, like Enumerable#map
<mikrosis>
right
mikrosis has quit [Ping timeout: 240 seconds]
<rapha>
mbarbar: i think installbuilder is a bit heavy for the developer. but for the user it seems to be the standard "Yes, Next, Next, Next, Finish" wizard thing. most non-technical users seem to be fine with that.
<mbarbar>
yeah true. my users would largely be technical however. i also checked the pricing and it might be a bit much for the project i have in mind to be honest
balo has quit [Quit: leaving]
balo has joined #ruby
<mbarbar>
have you used it before, by the way?
fdan has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
<rapha>
mbarbar: no, an old workplace, they used it. that was a home run, though, i think, because the app was qt based. also i never checked the pricing. ouch!!!
<rapha>
sad that there's no Windows suppport for AppImage
<rapha>
(altho i wouldn't be surprised if someone bolts that onto WSL at some point)
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
graywolf has joined #ruby
lunarkitty has joined #ruby
gggp__ has joined #ruby
gggp__ has quit [Remote host closed the connection]
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 252 seconds]
gggp has joined #ruby
gggp__ has quit [Ping timeout: 250 seconds]
gggp has quit [Ping timeout: 252 seconds]
mikrosis has joined #ruby
neshpion has joined #ruby
graywolf has quit [Quit: WeeChat 3.2]
Milos_ is now known as Milos
jpw has quit [Ping timeout: 248 seconds]
Oxfuxxx has quit [Ping timeout: 240 seconds]
eldritch_ has quit [Changing host]
eldritch_ has joined #ruby
Oxfuxxx has joined #ruby
Oxfuxxx has quit [Ping timeout: 250 seconds]
Oxfuxxx has joined #ruby
ollysmith has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
ollysmith has joined #ruby
weaksauce has joined #ruby
mrkz_c has joined #ruby
Oxfuxxx has quit [Ping timeout: 240 seconds]
Oxfuxxx has joined #ruby
mikrosis has quit [Quit: Connection closed]
hololeap_ has joined #ruby
neshpion has quit [Remote host closed the connection]
hololeap has quit [Ping timeout: 276 seconds]
hololeap_ is now known as hololeap
neshpion has joined #ruby
mattil has quit [Quit: Leaving]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
_ht has quit [Remote host closed the connection]
Oxfuxxx has quit [Read error: Connection reset by peer]
Oxfuxxx has joined #ruby
Oxfuxxx_ has joined #ruby
Oxfuxxx has quit [Ping timeout: 250 seconds]
ollysmith has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
ollysmith has joined #ruby
ur5us has joined #ruby
dachi_ has quit [Ping timeout: 240 seconds]
jp7webdesign has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
Guest75 has joined #ruby
Guest75 has quit [Client Quit]
ur5us has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
roadie has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]