havenwood changed the topic of #ruby to: Ruby 3.3.1, 3.2.4, 3.4.0-preview1 https://www.ruby-lang.org | Logs https://libera.irclog.whitequark.org/ruby
srbaker has quit [Quit: srbaker]
srbaker has joined #ruby
desnudopenguino has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
<teardown> I'm using the Sequel gem to try to inner join two foreign keys to to a table. the problem is that the second join wants to environment_id to be in the :domains table. how do i specify to look in the :environments table?
<teardown> DB[:servers].join(:domains, id: :domains_id ).from(:environments, id: :environments_id).all
<teardown> sorry i pasted the wrong line, that from is a join
<teardown> but sequel looks for :environments_id on the :domain table because that was the table used in the first join
xdminsy has quit [Ping timeout: 260 seconds]
xdminsy has joined #ruby
<teardown> here is the schema for those tables https://pastebin.com/uFTap3Fp
<ruby[bot]> teardown: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<teardown> gist.github.com
<teardown> well, i scanned the channel title for the preferred pastebin before i chose that one. my bad
<teardown> here's the error
<ruby[bot]> teardown: as I told you already, please use https://gist.github.com
<teardown> im not going to register a github account just to share a pastebin
<teardown> thakns in advance for any feedback
xdminsy has quit [Read error: Connection reset by peer]
xdminsy has joined #ruby
<teardown> sequel's docs show chained joins exactly as i have done
Apollyon has joined #ruby
xdminsy has quit [Read error: Connection reset by peer]
xdminsy has joined #ruby
xdminsy has quit [Read error: Connection reset by peer]
xdminsy has joined #ruby
fercell has joined #ruby
fercell_ has quit [Ping timeout: 255 seconds]
tirnanog has quit [Ping timeout: 260 seconds]
Apollyon has quit [Remote host closed the connection]
shiboka has quit [Remote host closed the connection]
bambanxx has joined #ruby
bambanxx has quit [Client Quit]
bambanxx has joined #ruby
konsolebox has joined #ruby
donofrio has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
bambanxx has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ih8u1 has joined #ruby
ih8u has quit [Ping timeout: 264 seconds]
ih8u1 is now known as ih8u
ih8u1 has joined #ruby
ih8u has quit [Ping timeout: 240 seconds]
ih8u1 is now known as ih8u
donofrio has quit [Ping timeout: 260 seconds]
johnjaye has joined #ruby
grenierm has joined #ruby
konsolebox has quit [Ping timeout: 264 seconds]
osc4rpt has quit [Ping timeout: 240 seconds]
srbaker has quit [Quit: srbaker]
srbaker has joined #ruby
konsolebox has joined #ruby
Obsdark has quit [Quit: Nettalk6 - www.ntalk.de]
reset has quit [Quit: reset]
mange has quit [Quit: Quittin' time!]
grenierm has quit [Ping timeout: 250 seconds]
jaredce has joined #ruby
donofrio has joined #ruby
cappy has joined #ruby
gaussianblue has joined #ruby
tirnanog has joined #ruby
whysthatso125070 has quit [Read error: Connection reset by peer]
whysthatso125070 has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
tirnanog has quit [Ping timeout: 268 seconds]
tirnanog has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
mange has joined #ruby
konsolebox has joined #ruby
desnudopenguino has quit [Read error: Connection reset by peer]
cappy has quit [Quit: Leaving]
c10l has quit [Remote host closed the connection]
c10l has joined #ruby
mange has quit [Quit: Zzz...]
konsolebox has quit [Ping timeout: 240 seconds]
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
jaredce has quit [Ping timeout: 256 seconds]
jaredce has joined #ruby
donofrio has quit [Ping timeout: 256 seconds]
jaredce has quit [Ping timeout: 264 seconds]
donofrio has joined #ruby
<adam12> teardown: Can you use a fully qualified value? Sequel[:environments][:environment_id]
jaredce has joined #ruby
konsolebox has joined #ruby
whysthatso125070 has quit [Ping timeout: 264 seconds]
nmollerup has joined #ruby
olus has quit [Quit: No Ping reply in 120 seconds.]
olus has joined #ruby
Aminda has joined #ruby
desnudopenguino has joined #ruby
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
brokkoli_origin has quit [Ping timeout: 240 seconds]
brokkoli_origin has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
TomyWork has joined #ruby
brokkoli_origin has joined #ruby
smp has quit [Ping timeout: 252 seconds]
smp has joined #ruby
eddof13 has joined #ruby
smp has quit [Client Quit]
eddof13 has quit [Quit: eddof13]
gaussianblue has quit [Quit: leaving]
eddof13 has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
jaredce has quit [Ping timeout: 260 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
smp has joined #ruby
vigumnov has quit [Quit: ZNC 1.9.0 - https://znc.in]
otisolsen70 has joined #ruby
hightower4 has joined #ruby
hightower3 has quit [Ping timeout: 256 seconds]
hightower4 has quit [Remote host closed the connection]
hightower4 has joined #ruby
smp- has joined #ruby
smp has quit [Ping timeout: 252 seconds]
smp- is now known as smp
bambanxx has joined #ruby
orbyt_v10 has joined #ruby
hwpplayer1 has joined #ruby
eddof13 has quit [Quit: eddof13]
grenierm has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
eddof13 has joined #ruby
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
bambanxx has joined #ruby
whysthatso125070 has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
bambanxx has joined #ruby
bambanxx has quit [Client Quit]
havenwood has joined #ruby
bambanxx has joined #ruby
konsolebox has quit [Quit: .]
<mooff> https://dpaste.org/ seems decent enough
<mooff> no account required
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
bambanxx has joined #ruby
bambanxx has quit [Client Quit]
bambanxx has joined #ruby
bambanxx has quit [Ping timeout: 256 seconds]
Guest84 has joined #ruby
brokkoli_origin has quit [Ping timeout: 268 seconds]
brokkoli_origin has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
<adam12> We should remove that gist.github.com nag I feel.
<weaksauce> or add in hastebin.com
<weaksauce> slash dpaste.org
dalan03822833508 has quit [Quit: dalan03822833508]
dalan03822833508 has joined #ruby
<adam12> I think dpaste.org seems good for now.
<adam12> I wonder if we should drop the second nag ("as I told you already")
<[0x1eef]> I couldn't agree more. I don't think I've ever seen a positive reaction.
<leftylink> add the third strike. when they use a forbidden paste site a third time, they are banned from posting links
<adam12> ruby[bot] runs ./winnuke on them.
<leftylink> it doesn't make sense to have messages for the first two strikes and not a third
<[0x1eef]> It doesn't make sense to have the message at all IMO.
<mooff> +1
<mooff> (for no nags, not third strike :P)
cappy has joined #ruby
<[0x1eef]> The plus it could have is directing people to legitimate websites rather than risky ones. But that's not what the objective, it's too specific and pastebin is not known to be malware AFAIK.
<adam12> I made changes for both. Just need jhass to deploy.
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
<rapha> "hey peter, we don't like pastebin.com so much. if you want to try a more trustworthy site, dpaste.org and hastebin.com are both good. gist.github.com is also cool if you have an account there."
<kjetilho> put a pastebin suggestion in topic, that would do IMHO
tirnanog has quit [Quit: = ""]
donofrio has quit [Ping timeout: 252 seconds]
hwpplayer1 has quit [Quit: cylater people/friends]
<rapha> just saying, friendly wording goes a long way :)
<[0x1eef]> Good point rapha
orbyt_v10 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
eddof13 has quit [Ping timeout: 260 seconds]
orbyt_v10 has joined #ruby
Guest84 has quit [Quit: Client closed]
cappy has quit [Quit: Leaving]
desnudopenguino has quit [Ping timeout: 260 seconds]
<teardown> with sequel gem can you parametize queries used by associative models?
<adam12> teardown: I don't follow. Example/pseudo code?
desnudopenguino has joined #ruby
<mooff> you mean like where(user: some_user) ?
grenierm has quit [Ping timeout: 250 seconds]
Obsdark has joined #ruby
Obsdark has quit [Changing host]
Obsdark has joined #ruby
cappy has joined #ruby
otisolsen70 has quit [Quit: Leaving]
hansolo has quit [Remote host closed the connection]