<adam12>
gitter1234: Reverse captchas are generally fairly effective.
<gitter1234>
adam12: Never heard about those.
sagax has quit [Quit: Konversation terminated!]
lucasb has joined #ruby
alexherbo23 has joined #ruby
Guest94972 has quit [Ping timeout: 240 seconds]
weeirc8089 has joined #ruby
alexherbo2 has quit [Ping timeout: 268 seconds]
alexherbo23 is now known as alexherbo2
Guest94972 has joined #ruby
john2496 has joined #ruby
mossplix has joined #ruby
Emmanuel_Chanel has joined #ruby
greengriminal has joined #ruby
sagax has joined #ruby
vondruch_ has joined #ruby
grilix has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
vondruch_ is now known as vondruch
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
grilix has quit [Quit: Ooops]
rippa has joined #ruby
TzilTzal has joined #ruby
<TzilTzal>
Hi
<TzilTzal>
Is anyone familiar with Que? Can't understand why a Que::Job isn't executed...
infinityfye has quit [Quit: Leaving]
pwnd_nsfw` has joined #ruby
DaRock has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
william1_ has joined #ruby
pwnd_nsfw has quit [Ping timeout: 265 seconds]
fercell has quit [Quit: WeeChat 2.7]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
<adam12>
TzilTzal: You're running the job worker somewhere?
<TzilTzal>
Yes, with an ActiveRecord adapter...
<TzilTzal>
it commits the job to the database but the Job never actually gets executed ;(
mossplix has quit [Ping timeout: 268 seconds]
<adam12>
TzilTzal: Sounds like it doesn't see the jobs in the database. Are you passing any flags to `que`? when you run it?
<TzilTzal>
yeah
<TzilTzal>
I get #<PG::Result:0x007f8d63a62f50 status=PGRES_TUPLES_OK ntuples=1 nfields=8 cmd_tuples=1> from the db
<TzilTzal>
so seems like it was written
mossplix has joined #ruby
<TzilTzal>
What exactly is supposed to schedule a job that's been committed to the db?
<adam12>
TzilTzal: The `que` binary that you run.
<TzilTzal>
que binary?
<adam12>
TzilTzal: You run it the same way you run your app server (rails server, puma, whatever).
<TzilTzal>
I'm running a padrino server
<adam12>
TzilTzal: You'll run `que` in the same way. But que doesn't support Padrino for environment setup AFAIK, so you'll need to tell Que how to connect to database, etc.
<adam12>
(unless there's a config/environment.rb in Padrino which might work automatically.
mn3m has quit [Quit: mn3m]
<TzilTzal>
well, it seems to connect on the padrino side... (it uses an ActiveRecord adapter).. but I can't see any workers being created.
<TzilTzal>
Are you referring to some separate que binary ?
<TzilTzal>
which is shipped with the gem?
<adam12>
TzilTzal: Yes. It's separate, shipped with the gem.
<TzilTzal>
ouch
william1_ has quit [Ping timeout: 258 seconds]
<adam12>
TzilTzal: You need to start it. Jobs are run out-of-process (So not inside padrino server)
<TzilTzal>
lovely.
<adam12>
TzilTzal: If that doesn't work for you, you likely need something like Suckerpunch.
<TzilTzal>
That explains a lot.
<TzilTzal>
*sigh*
<TzilTzal>
Thanks a lot for the help!
<adam12>
TzilTzal: Cheers!
schne1der has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<gitter1234>
adam12: LOL @ reversed captchas
<gitter1234>
* reverse
shansen_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
anveo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
mossplix has quit [Ping timeout: 258 seconds]
<TzilTzal>
adam12: it seems to have picked up one job in about 5 minutes....
greengriminal has quit [Quit: This computer has gone to sleep]
greengriminal has joined #ruby
fercell has joined #ruby
<TzilTzal>
actually, I think it might be working ok
<adam12>
TzilTzal: Great! I use Que as my main job queue on almost everything (tho I'm not on 1.0 yet). It does 1000's of jobs a day for me without fail.
ttoocs has quit [Ping timeout: 268 seconds]
davidw has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
sphex has quit [Remote host closed the connection]
duderonomy has joined #ruby
phaul has joined #ruby
mossplix has joined #ruby
Link-fr has joined #ruby
Link-fr has quit [Client Quit]
Link-fr has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.5]
cthulchu_ has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
Fr4n has joined #ruby
tsujp has quit [Remote host closed the connection]
PaulePan1er is now known as PaulePanter
fphilipe has quit [Ping timeout: 265 seconds]
phaul has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
fercell has quit [Ping timeout: 258 seconds]
TomyWork has quit [Ping timeout: 256 seconds]
bvdw has quit [Read error: Connection reset by peer]
<laudecay>
idk who maintains rubydoc but it broke :(
<adam12>
laudecay: Maintained by lsegal who's online in the #yard channel.
<laudecay>
thx adam12
phaul has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
jaequery has joined #ruby
fphilipe has joined #ruby
greengriminal has quit [Quit: Leaving]
fphilipe has quit [Ping timeout: 252 seconds]
r0ph has quit []
mossplix has quit [Remote host closed the connection]
smccarthy has joined #ruby
QuakePhil has joined #ruby
<QuakePhil>
looking for sample ruby code that streams protobuf2 and protobuf3... any links and/or pointers would be appreciated!
<smccarthy>
Hi, if I have obj = { key1: { key2: "value" } } , is there a way that obj[:key1][:key3][:key4] will not throw an error , NoMethodError (undefined method `[]' for nil:NilClass) ? Something where it defaults to nil or something ? Besides doing a check that each key is there before checking the next key ?
mossplix has quit [Remote host closed the connection]
bruce_lee has quit [Ping timeout: 260 seconds]
bruce_lee has joined #ruby
zlogan has joined #ruby
weeirc8089 has quit [Ping timeout: 260 seconds]
pwnd_nsfw has joined #ruby
Guest57134 is now known as phaul
z4phod has joined #ruby
<z4phod>
hello !
bruce_lee has quit [Ping timeout: 268 seconds]
<havenwood>
z4phod: hi!
<z4phod>
how i can add new line in rails console when i edit history please ?
<z4phod>
(rails 6)
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
<z4phod>
i can see the whole block now, but i don't know how add new line (when i did enter, that's run)
<phaul>
laudecay: are you referring to playpen time outs or there is an other issue?
<phaul>
laudecay: adam12: that's news to me, afaik I maintain it
<phaul>
the eval part (carc.in) is maintained by jhass
sauvin has quit [Read error: Connection reset by peer]
<z4phod>
my problem appear with ruby 2.7 and reline ...
<phaul>
oh. nvm completely misunderstood you guys. you are talking about the ruby-doc website.
mossplix has joined #ruby
Link-fr has joined #ruby
pwnd_nsfw has quit [Read error: Connection reset by peer]
poontangmessiah has joined #ruby
ellcs has joined #ruby
zlogan has quit [Remote host closed the connection]
GodFather has joined #ruby
zlogan has joined #ruby
<laudecay>
phaul: apparently a known issue
<phaul>
ok, nvm I thought you were talking about the channel bot, also called rubydoc :)
SeepingN has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
troulouliou_dev has joined #ruby
pwnd_nsfw has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
troulouliou_dev has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
nima_m has joined #ruby
<laudecay>
pros and cons of cancancan versus pundit?
<havenwood>
laudecay: pundit keeps it nicely parallel. there are more maintainers of cancancan.
<laudecay>
"nicely parallel" ?
<laudecay>
in what senses?
troulouliou_dev has quit [Remote host closed the connection]
<havenwood>
laudecay: your authorization is in parallel files to your regular code, rather than entangled in the same file. the difference is both aesthetic and practical.
orbyt_ has joined #ruby
troulouliou_dev has joined #ruby
<havenwood>
laudecay: its codebase is also 1/3 the size
<havenwood>
a third the files, a third the lines of code, a third the comments
<laudecay>
if i was to do omniauth stuff to authenticate with devise, when we deactivate a user in the outside service provider, would API access stop working too?
fredolinhares has joined #ruby
mwlang has joined #ruby
loveablelobster has joined #ruby
alexherbo25 has joined #ruby
cliluw has quit [Ping timeout: 260 seconds]
cliluw has joined #ruby
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo25 is now known as alexherbo2
chalkmonster has quit [Quit: WeeChat 2.7]
Guest94972 has quit [Ping timeout: 258 seconds]
loveablelobster has quit [Client Quit]
Fernando-Basso has joined #ruby
Guest94972 has joined #ruby
greypack has quit [Ping timeout: 258 seconds]
greypack has joined #ruby
sgen has joined #ruby
Guest94972 is now known as alex``
hiroaki has quit [Ping timeout: 240 seconds]
mossplix has quit [Remote host closed the connection]
davor has quit [Ping timeout: 260 seconds]
davor has joined #ruby
hiroaki has joined #ruby
Link-fr has quit [Quit: Leaving]
chalkmonster has joined #ruby
mossplix has joined #ruby
Link-fr has joined #ruby
john2496 has quit [Remote host closed the connection]
Link-fr has quit [Remote host closed the connection]
davidw has quit [Ping timeout: 240 seconds]
weeirc8089 has joined #ruby
Ishido has joined #ruby
cthulchu_ has quit [Read error: Connection reset by peer]
cthulchu_ has joined #ruby
sgen has quit [Ping timeout: 260 seconds]
sergioro has quit [Quit: leaving]
schne1der has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Quit: dionysus69]
mwlang has quit [Quit: mwlang]
smccarthy has quit [Remote host closed the connection]
nima_m has quit [Quit: Connection closed for inactivity]
ellcs has quit [Ping timeout: 265 seconds]
davidw has joined #ruby
Ishido has quit [Remote host closed the connection]
mossplix has quit [Remote host closed the connection]
john2496 has joined #ruby
mossplix has joined #ruby
mossplix has quit [Remote host closed the connection]
hutch has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
gix has quit [Quit: Client exiting]
mossplix has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery_ has joined #ruby
Caius has quit [Ping timeout: 260 seconds]
Caius has joined #ruby
Caius has quit [Changing host]
Caius has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Ping timeout: 265 seconds]
alex`` has quit [Ping timeout: 258 seconds]
mossplix has quit [Remote host closed the connection]
bvdw has joined #ruby
Ai9zO5AP has quit [Ping timeout: 272 seconds]
Ai9zO5AP has joined #ruby
mossplix has joined #ruby
bvdw has quit [Quit: bvdw]
zlogan has quit [Ping timeout: 272 seconds]
zlogan2003 has joined #ruby
weeirc8089 has quit [Ping timeout: 265 seconds]
Fernando-Basso has quit [Quit: Leaving]
bvdw has joined #ruby
alexherbo2 has joined #ruby
ErhardtMundt has quit [Quit: No Ping reply in 180 seconds.]
alex`` has joined #ruby
ErhardtMundt has joined #ruby
john2496 has quit [Remote host closed the connection]
bvdw has quit [Quit: bvdw]
bvdw has joined #ruby
juria_roberts has joined #ruby
<juria_roberts>
How do i do a join but also add the separator as a prefix?
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]