philat has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
Thiago45 has joined #ruby
Thiago45 is now known as ThiagoRubyBrasil
blackmetal has quit [Read error: Connection reset by peer]
JulianaDias[m] has joined #ruby
JulianaDias[m] has quit [Client Quit]
JulianaDias[m] has joined #ruby
JulianaDias[m] is now known as juuh42dias[m]
juuh42dias[m] has quit [Client Quit]
juuh42dias[m] has joined #ruby
blackmetal has joined #ruby
juuh42dias[m] has quit [Client Quit]
juuh42dias[m] has joined #ruby
juuh42dias has quit []
juuh42dias[m] is now known as juuh42dias
juuh42dias has quit [Quit: Reconnecting]
juuh42dias has joined #ruby
juliana has joined #ruby
blackmetal has quit [Read error: Connection reset by peer]
juliana has quit [Client Quit]
moldorcoder7 has quit [Ping timeout: 250 seconds]
blackmetal has joined #ruby
blackmetal has quit [Read error: Connection reset by peer]
blackmetal has joined #ruby
jhass has quit [Ping timeout: 256 seconds]
jhass has joined #ruby
johnjaye has joined #ruby
juuh42dias has quit [Quit: Reconnecting]
juuh42dias has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
ThiagoRubyBrasil has quit [Quit: Client closed]
bladde has joined #ruby
blackmetal has quit [Read error: Connection reset by peer]
blackmetal has joined #ruby
blackmetal has quit [Read error: Connection reset by peer]
Al2O3 has joined #ruby
_ht has joined #ruby
ap4y has quit [Remote host closed the connection]
bladde has quit [Ping timeout: 268 seconds]
grenierm has joined #ruby
_ht has quit [Quit: _ht]
howdoi has joined #ruby
roadie has joined #ruby
teclator has joined #ruby
FullMetalStacker has joined #ruby
<FullMetalStacker>
Hey guys! What do you believe is the most active community in the internet for Ruby discussions? I found https://www.ruby-forum.com, which seems super modern due to Discourse, and it has massive counts of posts ranging in 50-80k regions, etc. But since I have joined the forum, only a very few messages have been submitted since 1 whole week, so it feels rather abandoned!? Is this Ruby's best shot or are there better places to
<FullMetalStacker>
go and find a massive community that is actually actively communicating?
<leftylink>
just for comparison and my learning since I am not familiar with these two communities that I'm about to name, what are the sizes of reddit /r/ruby and the Ruby mailing list?
<rapha>
not sure about "massive", but we're communicating here
jhass[m] has quit [Quit: Bridge terminating on SIGTERM]
luffy[m] has quit [Quit: Bridge terminating on SIGTERM]
Fernando-Basso has quit [Quit: Bridge terminating on SIGTERM]
tjnhxmzhmqgytuwt has quit [Quit: Bridge terminating on SIGTERM]
hsiktas[m] has quit [Quit: Bridge terminating on SIGTERM]
juuh42dias has quit [Quit: Bridge terminating on SIGTERM]
g-tenko-r[m] has quit [Quit: Bridge terminating on SIGTERM]
pounce has quit [Ping timeout: 256 seconds]
infinityfye has joined #ruby
pounce has joined #ruby
roadie has quit [Quit: ERC 5.5 (IRC client for GNU Emacs 29.0.90)]
ur5us__ has quit [Remote host closed the connection]
dviola has quit [Read error: Connection reset by peer]
dviola has joined #ruby
weaksauce has joined #ruby
weaksauc_ has quit [Ping timeout: 250 seconds]
roshanavand has quit [Ping timeout: 246 seconds]
nickjj has joined #ruby
moldorcoder7 has joined #ruby
markong has joined #ruby
<adam12>
FullMetalStacker: Unfortunately, everyone is spread out everywhere. I kind of wish the Ruby community was like the D community, where all discussion was in one single place (with a variety of methods to interact with it), but it's not.
<clemens3>
problem with ruby community is that it is a rails community
Fernando-Basso has joined #ruby
tjnhxmzhmqgytuwt has joined #ruby
hsiktas[m] has joined #ruby
luffy[m] has joined #ruby
jhass[m] has joined #ruby
<adam12>
Perhaps that's because they seem to sheppard people where they need to be. Official forums, etc.
<adam12>
The overarching Ruby community hasn't had a great solution to that. The mailing list perhaps, but a lot of people aren't comfortable with the mailing list. I'm not sure I've ever sent a single email to it.
<adam12>
The D Forum is web based, email based, and NNTP based. Pick your interface style, which allows people to all be on the same platform but with their own preferred mechanism of communicating.
<adam12>
At least for me, there is: this chat room, r/ruby, Hanami maintainers Slack, Eventide Slack, dry-rb zulip, dry-rb discourse, ruby-lang ml.
<rapha>
clemens3: thankfully that's not entirely true.
lena64t has joined #ruby
lena64t has quit [Remote host closed the connection]
<clemens3>
:)
moldorcoder7 has quit [Ping timeout: 246 seconds]
micah has joined #ruby
<micah>
i'm trying to run rubocop, but it is telling me: uninitialized constant RuboCop::RSpec::FactoryBot, include RuboCop::RSpec::FactoryBot::Language
<micah>
how do I get that?
<micah>
(i have the gem installed with gem install factory_bot)
roshanavand has joined #ruby
markong has quit [Ping timeout: 246 seconds]
gr33n7007h has quit [Quit: WeeChat 3.8]
mark22k has quit [Quit: mark22k]
mark22k has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
<adam12>
micah: Must be missing a require. Maybe `require "factory_bot"` in your test_helper.rb or test?
<adam12>
micah: Oh, it's rubocop. Sorry. Maybe a missing require from your rubocop.yml config.
infinityfye has quit [Read error: Connection reset by peer]
infinityfye has joined #ruby
infinityfye has quit [Read error: Connection reset by peer]
infinityfye has joined #ruby
infinityfye has quit [Remote host closed the connection]
hightower2 has quit [Read error: Connection reset by peer]
Sankalp has quit [Ping timeout: 250 seconds]
Sankalp has joined #ruby
royo25 has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
peder has quit [Ping timeout: 265 seconds]
encycl has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
TomyWork has joined #ruby
peder has joined #ruby
TomyWork has quit [Quit: Leaving]
TomyWork has joined #ruby
maroloccio has joined #ruby
___nick___ has joined #ruby
roadie has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
roshanavand has quit [Ping timeout: 265 seconds]
teclator has quit [Ping timeout: 250 seconds]
desnudopenguino has joined #ruby
encycl has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
John_Ivan has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
vocaln20 has joined #ruby
roadie has quit [Quit: ERC 5.5 (IRC client for GNU Emacs 29.0.90)]
<juuh42dias>
👀
moldorcoder7 has joined #ruby
intelligent_boat has joined #ruby
roadie has joined #ruby
maroloccio has quit [Ping timeout: 240 seconds]
John_Ivan has joined #ruby
FullMetalStacker has quit [Remote host closed the connection]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 246 seconds]
desnudopenguino1 is now known as desnudopenguino
royo25 has quit [Quit: Bye]
lena64t has joined #ruby
Dooky has joined #ruby
_ht has joined #ruby
TomyWork has quit [Remote host closed the connection]
dviola has quit [Ping timeout: 240 seconds]
biosbug has joined #ruby
vocaln20 has quit [Ping timeout: 265 seconds]
biosbug has quit [Client Quit]
juuh42dias has quit [Remote host closed the connection]
biosbug has joined #ruby
biosbug has quit [Client Quit]
grenierm has joined #ruby
c10l has quit [Quit: See ya! o/]
c10l has joined #ruby
juuh42dias has joined #ruby
_ht has quit [Quit: _ht]
___nick___ has quit [Ping timeout: 240 seconds]
pvalenta_ has joined #ruby
pvalenta has quit [Ping timeout: 240 seconds]
tomtmym has quit [Quit: Gone.]
yCrazyEdd has quit [Ping timeout: 256 seconds]
yCrazyEdd has joined #ruby
roshanavand has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
roadie has joined #ruby
limeli84 has joined #ruby
dichro has joined #ruby
dichro has quit [Remote host closed the connection]
roadie has quit [Ping timeout: 248 seconds]
limeli84 has quit [Ping timeout: 264 seconds]
otisolsen70 has quit [Quit: Leaving]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
ap4y has joined #ruby
<micah>
adam12: thanks!
Dooky has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has joined #ruby
CalculusCats has joined #ruby
graywolf has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
Linux_Kerio has quit [Ping timeout: 246 seconds]
<joto>
I have some arbitrary sql statements to run upon deploy of my rails application (creating a foreign data wrapper, creating foreign tables and creating a couple of views based on these foreign tables). What would be the Ruby on Rails way of doing this?
<joto>
I was thinking of either placing the sql statements in seed.rb, or maybe making a migration but I'm unsure what the idiomatic way it'll be exactly :-)
<mooff>
joto: a migration sounds like exactly what you want :-)
roadie has joined #ruby
<joto>
alright. need to figure out how to use raw sql in a migration haha
<joto>
it's as simple as def change execute 'CREATE SERVER firebird_server_1;' end
<joto>
awesome!
<mooff>
yeap! that'll do it!
<mooff>
if you want to make it reversible, change that to def up, and add a def down :-)
<mooff>
on your next deploy, you should see it executing the migration
<joto>
oh right. thanks a lot!
roadie has quit [Ping timeout: 248 seconds]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 246 seconds]
desnudopenguino1 is now known as desnudopenguino
ghostl has joined #ruby
sickdyd has joined #ruby
<sickdyd>
I'm struggling with using REGEXP on a simple model: `users = User.where("firstname REGEXP ?", '[^a-zA-Z\s]|http')`. The model is correct, the table has the column, but everytime I try to execute it I get "(Object doesn't support #inspect)"
<sickdyd>
any idea why?
<sickdyd>
MySQL and RoR 6
<sickdyd>
the query itself looks correct
<sickdyd>
also the regexp is already in use in another bit of code in JS, so it should be ok
ghostl has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]