adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
drincruz has joined #ruby
michigan has left #ruby [#ruby]
QuasarDeneb has joined #ruby
QuasarDeneb has quit [Quit: Textual IRC Client: www.textualapp.com]
drincruz has quit [Ping timeout: 265 seconds]
bandithijo has joined #ruby
drincruz has joined #ruby
drincruz has quit [Ping timeout: 255 seconds]
ur5us has joined #ruby
gr33n7007h has quit [Ping timeout: 268 seconds]
gr33n7007h has joined #ruby
drincruz has joined #ruby
drincruz has quit [Ping timeout: 255 seconds]
lunarkitty has joined #ruby
Rounin has quit [Ping timeout: 265 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
kaivai_ has quit [Ping timeout: 258 seconds]
kaivai has joined #ruby
ua_ has quit [Excess Flood]
ua_ has joined #ruby
ua_ has quit [Ping timeout: 265 seconds]
ua_ has joined #ruby
ua_ has quit [Ping timeout: 258 seconds]
ua_ has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
jhawthorn has quit [Quit: ZNC 1.8.2 - https://znc.in]
jhawthorn has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
<Cork> rapha: from my experience those errors are usually from haveing ascii code < 0x20 in the string, utf-8 has not way to reprecent these characters
<Cork> but those are among the few that can't be reprecented
jmcgnh has quit [Ping timeout: 258 seconds]
lucf117 has quit [Remote host closed the connection]
_ht has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
teclator has joined #ruby
shokohsc has quit [Quit: Ping timeout (120 seconds)]
jmcgnh has joined #ruby
shokohsc has joined #ruby
Bounga has joined #ruby
lzap has joined #ruby
gr33n7007h has joined #ruby
isekaijin has quit [Quit: WeeChat 3.2]
gr33n7007h has quit [Quit: WeeChat 3.2]
Guest8684 has joined #ruby
Guest8684 is now known as drgesgsefesg
drgesgsefesg has quit [Client Quit]
ikonia_ is now known as ikonia
jmcgnh has quit [Ping timeout: 258 seconds]
Guest60 has joined #ruby
jmcgnh has joined #ruby
drincruz has joined #ruby
Guest60 has quit [Quit: Client closed]
drincruz has quit [Ping timeout: 246 seconds]
Rounin has joined #ruby
drincruz has joined #ruby
drincruz has quit [Ping timeout: 258 seconds]
lunarkitty has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
elf_fortrez has joined #ruby
niv has quit [Ping timeout: 255 seconds]
drincruz has joined #ruby
elf_fortrez has quit [Quit: Client closed]
jhass[m] has quit [Quit: Bridge terminating on SIGTERM]
ckrailo has quit [Quit: Bridge terminating on SIGTERM]
jhass[m] has joined #ruby
ckrailo has joined #ruby
TomyWork has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
QuasarDeneb has joined #ruby
me2 has joined #ruby
pwnd_sfw0 has joined #ruby
pwnd_sfw has quit [Read error: Connection reset by peer]
pwnd_sfw0 is now known as pwnd_sfw
niv has joined #ruby
weaksauce has quit [Ping timeout: 258 seconds]
lzap has quit [Ping timeout: 255 seconds]
drincruz_ has joined #ruby
drincruz has quit [Ping timeout: 252 seconds]
drincruz_ has quit [Ping timeout: 240 seconds]
drincruz_ has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
drincruz_ has quit [Ping timeout: 240 seconds]
drincruz_ has joined #ruby
aeri- has joined #ruby
aeris has quit [Quit: ZNC - http://znc.sourceforge.net]
drincruz_ has quit [Read error: Connection reset by peer]
bandithijo has quit [Ping timeout: 258 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
shokohsc has quit [Read error: Connection reset by peer]
shokohsc has joined #ruby
cer-0 has joined #ruby
chonkbit has joined #ruby
sgnh has quit [Quit: ZNC 1.8.2 - https://znc.in]
TomyWork has quit [Quit: Leaving]
michigan has joined #ruby
<michigan> Hey... is there any way to not have to go through the core-js node-sass BS every time i need rails up 'n runnin'?
QuasarDeneb has quit [Remote host closed the connection]
orbyt has joined #ruby
weaksauce has joined #ruby
chonkbit has quit [Ping timeout: 250 seconds]
<adam12> michigan: What BS is this? Maybe a non-Rails user could help with a bit more context.
<michigan> working on it! 2 sec
<michigan> just gotta hit the pharmacy for my meds first. dont wanna have another seizure
cer-0 has quit [Quit: leaving]
drincruz_ has joined #ruby
bougyman has quit [Quit: ZNC 1.6.4 - http://znc.in]
bougyman has joined #ruby
<leftylink> I wouldn't speak for others but I can independently report my own observations. I see that when I do `rails new` (I have Rails 6.0.4), it fails on the `rails webpacker:install` step because "Node.js not installed. Please download and install Node.js https://nodejs.org/en/download/"
<newton> I think part of the question comes down to whether or not you want to support js at all
<[jamez]> Just use sinatra instead.
<aesthetikx> i like cuba personally
motherr has joined #ruby
<[jamez]> aesthetikx: I've heard good things about cuba, actually. Never tried it. I just like the syntax of sinatra a little better.
<aesthetikx> [jamez] both are great yeah
<aesthetikx> I love the idea of microframeworks
<[jamez]> Me too. I only wish DataMapper was better and still maintained. Don't like including activerecord in my apps, but I'm also too lazy to learn sequel, not that there's anything wrong with sequel itself.
<aesthetikx> I tried it on a small project, it is great in a lot of ways
<aesthetikx> ActiveRecord, imo, despite whatever flaws, is Gods gift to this Earth
<aesthetikx> There are a lot of things wrong with it, but as far as ORMs go, its unmatched still I think
Bounga has quit [Ping timeout: 268 seconds]
<aesthetikx> I see what you mean about not wanting to include it for small projects, however.
<caleb> I used to only use DataMapper until it was clear it would be unmaintained, begrudgingly started using ActiveRecord in all my Sinatra apps
<caleb> then I was forced to use sequel at work, and I'll never go bac
<caleb> Jeremy Evans is a ruby powerhouse and sequel is amazing
<aesthetikx> yeah it is nice in that it is simpler and in some ways more self-consistent
<[jamez]> caleb: A close friend said the exact same thing abou sequel. THen he continued to copy paste some horrible hack he had to introduce for some reason :)
<aesthetikx> I think my problems with AR are limited to: [direct support for more complicated joins, support for unions out of the box, and the or syntax trips me up]
<aesthetikx> once I figured out how to actually use subqueries many of my problems went away, for now anyway
<aesthetikx> does the DRY project have an answer to AR
<adam12> aesthetikx: ROM
<aesthetikx> oh right
<adam12> I've used Roda+Sequel on dozens of projects now. Some of them fairly large.
<aesthetikx> is Roda in some ways similar to Cuba?
<aesthetikx> in that you define like nested routes sort of in ruby
<adam12> It's a fork of Cuba.
<adam12> I won't go back to using ActiveRecord. Sequel can be verbose sometimes, but I've never felt limited.
<aesthetikx> well that makes sense
<aesthetikx> adam12 does sequel have a method to do like AR eager loading, n+1 handling etc
<caleb> take a look at this list you can plug in to sequel http://sequel.jeremyevans.net/plugins.html
<caleb> several variations of eager loading
<adam12> aesthetikx: It has a plugin called tactical_eager_loading (or similar?) and it does it all automatically for you :P
<adam12> It's awesome.
<adam12> bbiaf.
uplime has quit [Quit: I am deleted]
uplime has joined #ruby
reset has quit [Quit: reset]
reset has joined #ruby
_ht has quit [Remote host closed the connection]
<rg1> im not a big fan of the block spaghetti you can end up in with frameworks like sintra based on a DSL
<bougyman> I know roda was inspired by Cuba but I do not think it was forked.
<bougyman> (just double checked, it's not)
<bougyman> It sought to bring the best of Cuba and Sinatra features together.
<bougyman> roda is by far my favorite web framework, and sequel is my favorite ORM.
<caleb> which reminds me, I need to order evan's book
<aesthetikx> the new one?
<caleb> yeah
<newton> bougyman, the github repo says it was forked in the top left
<bougyman> newton: well color me fucked. I've been using roda since I first saw jeremy release it and was sure it wasn't straight forked.
<bougyman> Glad to know better now!
<bougyman> Thnks.
<newton> will have to try it out sometime myself!
chonkbit has joined #ruby
Jam666 has joined #ruby
<aesthetikx> has anyone here had either a good or bad experience with sidekiq-cron? I am thinking about adding it to a project.
me2 has quit [Quit: WeeChat 2.9]
<aesthetikx> or, has anyone tried sidekiq-scheduler or enterprise sidekiq?
bandithijo has joined #ruby
ur5us has joined #ruby
lucf117 has joined #ruby
<michigan> hmmm.. anybody know whats wrong here?
<michigan> % ln -s /home/apps/.gem/ruby/2.7/bin/rails27 /home/apps/.gem/ruby/2.7/bin/rails
<michigan> % rails
<michigan> % path+=("/home/apps/.gem/ruby/2.7/bin/")
<michigan> zsh: command not found: rails
<aesthetikx> echo $PATH to make sure its in there
<aesthetikx> or maybe do you need capital PATH+='
<aesthetikx> and `which rails` should tell you something
<michigan> hmm
<michigan> its in echo $PATH
<michigan> i forgot to menion its zsh
<michigan> please see this isntead: https://clbin.com/oxM2W
<aesthetikx> i dont actually see that exact directory in your path, it is missing .gem I think
<aesthetikx> (also I have never seen += in zsh so I cannot speak for the validity of that)
lunarkitty has joined #ruby
<weaksauce> yeah does that actually work in zsh? i use zsh and haven't seen that
<weaksauce> try export PATH="whatever_path;$PATH" or whatever the syntax is
<weaksauce> is it colon instead of semicolon
<weaksauce> and you are doing path instead of PATH
elf_fortrez has joined #ruby
elf_fortrez has quit [Client Quit]
<michigan> weaksauce: i think that's the bash way of doing things, at least according to https://stackoverflow.com/questions/11530090/adding-a-new-entry-to-the-path-variable-in-zsh
chonkbit has quit [Ping timeout: 255 seconds]
<michigan> echo $PATH, its been added there just fine
<michigan> aaaaaaaarhg so sorry guys stupid stupid me i forgot to add .gem to the last path
<weaksauce> michigan ok cool. i just use the first way because it's from my bash profile and i never cared enough to change it. the one thing that the bash way wins at is being able to prepend the path if that's something you need
<weaksauce> is there a reason you are doing it that way instead of some more general ruby version manager?
<weaksauce> oh actually you can prepend with the = method in zsh
<michigan> im just using the default system package in openbsd, its fine enough for me
<michigan> as for zsh, it's like bash done right, without all the security holes, it also allows you to write cleaner more beautiful shell scripts
<michigan> kinda like ruby vs python
aeri- has quit [Remote host closed the connection]
aeris has joined #ruby
<michigan> sorry for having wasted your time though, i should invest in a pair of glasses. staring at the white glaring light from my laptop surrounded by the pitch black darkness in my room is not good for my owl's/james webb vision
<aesthetikx> i love openbsd
<aesthetikx> i am wondering though if that should have been done for you by pkg; out of curiosity if you `ksh` do you have access to the rubygems? There may be some file that you should be `source`ing in your `.zshrc` to include some openbsd stuff
<michigan> aesthetikx: i actually do (ksh)
<michigan> i too thought i had to do some path manipulation now when setting everything up on a new server, like export GEM_HOME etc. but no, i didn't have to do anything
<michigan> wait hold up
<aesthetikx> nice, are you gonna setup PF
<michigan> yep :-)
<michigan> aesthetikx: havent added the above readme, also there are some bugs in the relayd.conf, but heres my pf.conf if you're wondering: https://github.com/basicfeatures/openbsd-rails/blob/main/etc/pf.conf
orbyt has quit [Quit: Textual IRC Client: www.textualapp.com]
<michigan> anyway cheers you guys, thanks for listening!
<michigan> time for a break
<aesthetikx> seeya
* michigan is a very happy boy right now :)
<michigan> later aesthetikx
<aesthetikx> I need to read 'The Book of PF'
<aesthetikx> or whatever no starch thing
orbyt has joined #ruby
jmcgnh has quit [Ping timeout: 246 seconds]
bandithijo has quit [Read error: Connection reset by peer]
jmcgnh has joined #ruby
bandithijo has joined #ruby
lucf117 has quit [Quit: Leaving]
<michigan> :D
<michigan> any chance anybody knows how to integrate https://github.com/jeremyevans/ruby-pledge with a rails app?
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jetchisel has joined #ruby