adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.1, 2.7.3, 2.6.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
Rounin has quit [Ping timeout: 240 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
TCZ has quit [Quit: oh eh ah]
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby
goepsilo_ has joined #ruby
goepsilongo has quit [Ping timeout: 258 seconds]
rotcev has quit [Quit: Connection closed]
ur5us has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
patr0clus has joined #ruby
drusepth has quit [Ping timeout: 252 seconds]
robotbee has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
wallacer has quit [Quit: No Ping reply in 180 seconds.]
wallacer has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
jetchisel has quit [Ping timeout: 260 seconds]
elcuervo has joined #ruby
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
gix has quit [Ping timeout: 240 seconds]
drusepth has joined #ruby
bucareli has quit [Ping timeout: 252 seconds]
envex has quit []
envex has joined #ruby
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
al2o3-cr has joined #ruby
shtirlic_ has joined #ruby
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
shtirlic has quit [Ping timeout: 240 seconds]
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
gigetoo has joined #ruby
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
jetchisel has joined #ruby
neshpion has joined #ruby
memcorrupt has joined #ruby
memcorrupt has left #ruby [#ruby]
jetchisel has quit [Ping timeout: 240 seconds]
robotbee has joined #ruby
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
jetchisel has joined #ruby
MalkbabY_ has joined #ruby
jetchisel has quit [Ping timeout: 246 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
MalkbabY has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
deimos_ has quit [Quit: leaving]
deimos_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
dviola has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
drusepth has quit [Ping timeout: 240 seconds]
stnly510 has quit [Quit: goodbye]
dpl_ has quit [Ping timeout: 240 seconds]
stnly510 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
ChmEarl has quit [Quit: Leaving]
StarOnD has joined #ruby
cfjk6 has joined #ruby
Benett has quit [Ping timeout: 245 seconds]
Black has joined #ruby
Black is now known as Benett
cfjk has quit [Ping timeout: 252 seconds]
cfjk6 is now known as cfjk
raddazong has quit [Ping timeout: 240 seconds]
madhatter has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
m27frogy has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Iarfen has quit [Remote host closed the connection]
cd has quit [Quit: cd]
StarOnD has quit [Ping timeout: 240 seconds]
redhands has joined #ruby
robotbee has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 258 seconds]
Vaevictus has quit [Remote host closed the connection]
Vaevictus has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
StarOnD has joined #ruby
patr0clus has quit [Quit: Textual IRC Client: www.textualapp.com]
DTZUZU has quit [Ping timeout: 240 seconds]
jmcgnh has quit [Ping timeout: 240 seconds]
DTZUZU has joined #ruby
jmcgnh has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
neshpion has quit [Quit: neshpion]
teclator has joined #ruby
jenrzzz has joined #ruby
robotbee has joined #ruby
jenrzzz has quit [Client Quit]
graphicsv has quit [Ping timeout: 245 seconds]
sorah has quit [Ping timeout: 250 seconds]
maxmanders has quit [Ping timeout: 260 seconds]
AutomationD has quit [Read error: Connection reset by peer]
peteretep has quit [Read error: Connection reset by peer]
rann has quit [Read error: Connection reset by peer]
Sina has quit [Ping timeout: 258 seconds]
coffeejunk has quit [Ping timeout: 258 seconds]
peteretep has joined #ruby
sorah has joined #ruby
maxmanders has joined #ruby
AutomationD has joined #ruby
rann has joined #ruby
graphicsv has joined #ruby
coffeejunk has joined #ruby
Azure has quit [Remote host closed the connection]
Sina has joined #ruby
Rounin has joined #ruby
goepsilongo has joined #ruby
MalkbabY has joined #ruby
goepsilo_ has quit [Ping timeout: 258 seconds]
hiroaki_ has quit [Ping timeout: 260 seconds]
MalkbabY_ has quit [Ping timeout: 240 seconds]
akem has quit [Ping timeout: 265 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
hiroaki_ has joined #ruby
jenrzzz has joined #ruby
ur5us has joined #ruby
dpl_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
alexherbo2 has joined #ruby
jla has joined #ruby
dviola has joined #ruby
dviola has joined #ruby
dviola has quit [Changing host]
robotbee has quit [Ping timeout: 252 seconds]
_rg has quit [Quit: WeeChat 1.9.1]
StarOnD has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Quit: Leaving]
jenrzzz has joined #ruby
blackmesa has joined #ruby
keden has quit [Quit: WeeChat 2.8]
jenrzzz has quit [Ping timeout: 252 seconds]
goepsilongo has quit [Quit: goepsilongo]
nofxx__ has quit [Read error: Connection reset by peer]
nofxx__ has joined #ruby
jenrzzz has joined #ruby
ur5us has quit [Ping timeout: 258 seconds]
blackmesa has quit [Quit: WeeChat 3.1]
RougeR has joined #ruby
jla has quit [Ping timeout: 246 seconds]
horst has joined #ruby
horst has quit [Client Quit]
horst has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
RougeR has quit [Read error: Connection reset by peer]
RougeRR has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jla has joined #ruby
ianmacd has quit [Changing host]
ianmacd has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
vondruch_ has joined #ruby
vondruch_ has left #ruby [#ruby]
vondruch has quit [Ping timeout: 240 seconds]
dpl_ has quit [Ping timeout: 240 seconds]
greengriminal has joined #ruby
jenrzzz has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
<jla> baweaver ... as said , i really enjoyed the 'Ruby Grimoire ' videos ... alhtouhg, as a ruby newbie, i'm far of understanding whats underlaying. I will re-visits them inthe future
<jla> BTW, i'm having 'There was an error parsing `Gemfile`: You cannot specify the same gem twice coming from different sources.'
<jla> after simply adding 'gem 'jekyll-theme-xyz', :github => 'xyz/jekyll-theme-xyz' ... onto my Gemfile, what am i missing (or repeating) ?
jetchisel has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
m27frogy has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
MalkbabY_ has joined #ruby
yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
yxhuvud has joined #ruby
MalkbabY has quit [Ping timeout: 240 seconds]
greengriminal has quit [Quit: Leaving]
* jla got it ... theme was already specified as jekyll-theme-xyz.gemspec
<jla> what are the recommended practices ? in order to specify a theme / gem ... in a .gemspec file or to do it via Gemfile ?
howdoi has quit [Quit: Connection closed for inactivity]
vondruch_ has joined #ruby
vondruch_ is now known as vondruch
vondruch has quit [Ping timeout: 240 seconds]
shtirlic_ has quit [Ping timeout: 265 seconds]
TomyWork has joined #ruby
weaksauce has quit [Ping timeout: 265 seconds]
vondruch has joined #ruby
alexherbo2 has joined #ruby
<rapha> hi all
<rapha> why does "puts x if x = "hello".match /l+/" not work, but "if x = "hello".match /l+/; puts x; end" works just fine?
TCZ has joined #ruby
jenrzzz has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
<havenwood> rapha: You can simplify your example to `foo if foo = true`.
<havenwood> &>> foo if foo = true
<rubydoc> # => -e:4: warning: found `= literal' in conditional, should be ==... check link for more (https://carc.in/#/r/avlf)
<havenwood> #!> undefined local variable or method `foo'
superschnell has joined #ruby
jla has quit [Ping timeout: 252 seconds]
<havenwood> rapha: Check out the difference in symbolic expression:
hiroaki_ has quit [Ping timeout: 260 seconds]
<havenwood> &>> require 'ripper'; Ripper.sexp 'foo if foo = true'
<rubydoc> # => [:program, [[:if_mod, [:assign, [:var_field, [:@ident, "foo", [1, 7]]], [:var_ref, [:@kw, "true", [1, 13]]]], [:vcall, [:@ident, "foo", [1, 0]]]]]] (https://carc.in/#/r/avlh)
<superschnell> Hi all. What can I do to fix this? -> "You have already activated thor 1.0.1, but your Gemfile requires thor 1.1.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)" ... I'm not sure where it wants me to change that. It's rake being invoked with "db:migrate" and it's already been invoked as bundle exec.
<havenwood> &>> require 'ripper'; Ripper.sexp 'if foo = true; foo end'
<rubydoc> # => [:program, [[:if, [:assign, [:var_field, [:@ident, "foo", [1, 3]]], [:var_ref, [:@kw, "true", [1, 9]]]], [[:var_ref, [:@ident, "foo", [1, 15]]]], nil]]] (https://carc.in/#/r/avlj)
<havenwood> superschnell: Try: rails/bin db:migrate
<havenwood> superschnell: oops, dyslexic me
<havenwood> superschnell: bin/rails db:migrate
<superschnell> havenwood: I get: bash: bin/rails: No such file or directory
<havenwood> superschnell: There's a `rails` shim in `bin/` folder by default. Are you in the Rails app root directory?
<superschnell> Nope
<havenwood> superschnell: Try relative to root dir: bin/rails db:migrate
<havenwood> Or even just: bin/rails -T
<havenwood> superschnell: Just wanted to sanity check if the binstub works?
<superschnell> havenwood: I honestly don't know what to do. You say there is a 'rails' in 'bin/', but 'bin/' is a relative path. I just did a find / -name "rails" for good measure
alexherbo2 has quit [Ping timeout: 252 seconds]
<superschnell> I could pastebin the output of that?
<havenwood> superschnell: Typically Rails does have binstubs generated in a bin/ dir. You could regenerate them if they somehow got deleted.
<havenwood> Like if you look at a fresh Rails app, they're there.
<superschnell> havenwood: that requires I know what the root folder is for whatever I am supposed to find a bin/ under, but the thing is, I don't know that. I've installed foreman from their repo, it's a pretty complex project
<havenwood> superschnell: Rails apps have a folder with config.ru in it. That's where the `bin/` is expected.
coniptor has quit [Ping timeout: 246 seconds]
<superschnell> ok
<havenwood> superschnell: You can regenerate them with: rails app:update:bin
<havenwood> superschnell: Do you know where the Gemfile.lock is?
<superschnell> havenwood: I'm in /usr/share/foreman now: there is a config.ru there
<havenwood> superschnell: I think you'll have better luck once you find the Rails app.
<superschnell> I'll retry your previous tips
<superschnell> I get: /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- rails/commands (LoadError)
<superschnell> I know that I have two versions of thor, I used find for that as well
<superschnell> The problem is foreman's irc channel is empty and whereas I *almost* got it to install on Ubuntu Focal Fossa this time, it crapped out at the last minute on this issue
<superschnell> Been trying to find out why ever since, looks like I'm not going to find out though
cd has joined #ruby
<superschnell> It comes back to: "You have already activated thor 1.0.1, but your Gemfile requires thor 1.1.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)"
<superschnell> The problem is, it doesn't indicate which Gemfile
<superschnell> The error does point to some script but I don't get much further there either. Oh well.
hiroaki_ has joined #ruby
MalkbabY_ is now known as MalkbabY
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
<havenwood> superschnell: Are you in the directory with the Gemfile?
<havenwood> superschnell: You can even run the command from anywhere, but you need to know which Gemfile.
<havenwood> superschnell: BUNDLE_GEMFILE="path/to/Gemfile" bundle install
<havenwood> superschnell: If you install the gems from the Gemfile, it'll create a Gemfile.lock. You can then use `bundle exec` from that directory to use the gems in the Gemfile.lock.
<havenwood> superschnell: It's location dependent by default, but you can alternatively tell Bundler where the Gemfile is explicitly.
voker57 has quit [Ping timeout: 240 seconds]
<havenwood> superschnell: You could try `bundle clean` command, if there really are unused gems causing problems. I dunno how that happened.
<havenwood> If `rails` command isn't available, install Rails.
<havenwood> superschnell: gem install rails
<havenwood> But typically it's as simple as `bundle` from the Gemfile directory then `bundle exec foo` to use Gemfile.lock gems.
voker57 has joined #ruby
<havenwood> Or Rails binstubs, `bundle` then `bin/rails foo`.
<superschnell> havenwood: yes, if only I knew which Gemfile, but nothing in the error or otherwise tells me
<superschnell> Looks like it might be related to: https://projects.theforeman.org/issues/20050
<superschnell> And why have I "activated" a certain version anyways? How does one "deactivate
booboy_ has quit [Ping timeout: 246 seconds]
booboy has joined #ruby
<superschnell> I have ./opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/rake-12.3.3/Gemfile and I have ./usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.3/Gemfile
<superschnell> Also, I've done find / -name "Gemfile" -exec grep -Hi 'thor' {} \; ... but that returns nothing.. very strange
<superschnell> Hmmm, I might be on to something now
Rudd0 has quit [Remote host closed the connection]
<superschnell> havenwood: here's what I was able to dig up: http://paste.debian.net/hidden/7f4fa5ea/
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
<superschnell> havenwood: looks like it's /usr/share/foreman/Gemfile.lock - has a line demanding thor (1.1.0)
dpl_ has joined #ruby
<superschnell> Additional (much more) info: http://paste.debian.net/hidden/d6b24b28/ (I also switched -x on for the shell script, so you can see what happens there)
<adam12> superschnell: What directory are you running these commands from, and what command are you running?
<superschnell> I'm in /usr/share/foreman and I run: foreman-installer -l DEBUG
<superschnell> The -l DEBUG is obviously to provide this extended error information
<adam12> superschnell: From that directory, can you run `bundle env` and paste it somewhere? Be sure to retract anything you don’t want since sometimes there might be ENV vars and such with sensitive data.
<adam12> superschnell: And running `bundle exec foreman-installer` doesn’t work for you? I’m having a hard time tracing your issue.
<superschnell> adam12: hadn't tried that yet, but the bundle exec is executed inside shell script (I switched on shell script tracing with -x, see other paste)
<superschnell> But I'll try
<adam12> superschnell: Is `foreman-installer` a shell script? I didn’t realize that.
<adam12> superschnell: Try anyways, but Foreman looks to be doing some interesting things.
jla has joined #ruby
<superschnell> # file `which foreman-installer` ---> /usr/sbin/foreman-installer: Ruby script, ASCII text executable
<adam12> Try with bundle exec. It shouldn’t be necessary, but doesn’t hurt to eliminate it.
<superschnell> adam12: output: http://paste.debian.net/hidden/f01b3242/
<adam12> `bundle exec` sets up an environment variable that tells Ruby to setup bundler when it starts. If you don’t do it early enough, that’s where you get the “already loaded” error.
<superschnell> ah, ok
<adam12> superschnell: gem list thor
<adam12> superschnell: How’d you install Ruby? and how’d you install Foreman? and did you ever manually install Thor using `gem install thor`?
<superschnell> adam12: apt install foreman-installer apache2 ri ruby-dev ruby-activesupport bundler
<superschnell> Don't recall installing ruby
<superschnell> And I didn't isntall thor manually
<adam12> superschnell: If you’re willing to take a chance, I’d install thor manually for the version it wants.
<adam12> superschnell: I’m really not sure if _bad things_ will happen, and you could probably revert, but it might get you closer.
<adam12> superschnell: gem install thor -v 1.1.0
madhatter has quit [Remote host closed the connection]
<adam12> It’s hard because there’s a million things going on here, and Ruby packaging / Ruby apps shipped with Bundler inside another package manager are always strange.
<superschnell> I did select the nightly build from the Foreman repo, because no 2.x version will install without crapping out on a version conflict regarding some ruby thing, iirc, ultimately, I tried practically everything and ended up setting an Ubuntu Focal Fossa VM just to be able to facilitate installing Foreman as described (more or less) here:
<superschnell> But I change 2.0 to Nightly
madhatter has joined #ruby
<superschnell> Otherwise some conflict involving ruby-highline develops
<superschnell> ruby-highline and/or others
<superschnell> pretty exhausted at this point, heh, I'll give a shot, what you just said
al2o3-cr has joined #ruby
dpl_ has quit [Quit: dpl_]
<adam12> superschnell: Now foreman-install?
<superschnell> Trying.. :)
<superschnell> I did bundle exec foreman-installer btw.. seems to be taking quite a whil;e
<superschnell> while*
<superschnell> No error yet
<superschnell> I think this is the farthest I've ever been with this
<superschnell> Well, it *almost* worked, but now it craps out because it can't connect to this host port 443 - which is correct: nothing is listening on 443
CrazyEddy has quit [Ping timeout: 240 seconds]
<superschnell> Something is listening on 8443 though, might need to manually alter something, or, if that's not it, configure apache's ssl module
<superschnell> adam12: thank you for helping me even get this far though, very much appreciated.
<superschnell> Yep, nmap reports some kind of foreman proxy at 8443
<superschnell> Sigh, heh
<adam12> superschnell: No problem.
<rapha> havenwood: sorry about the over-complex example ... that was just what had just happened to have been the concrete problem
<adam12> superschnell: I’d probably give up on all of this and run it in Docker :P
<havenwood> rapha: no prob, just trying to reduce it to a simpler case to understand
<rapha> oh wow
* rapha reads up on Ripper
<rapha> thank you havenwood!
CrazyEddy has joined #ruby
jla has quit [Ping timeout: 252 seconds]
<superschnell> havenwood: thank you as well!!
superschnell has quit [Quit: leaving]
CrazyEddy has quit [Quit: Reconnecting]
CrazyEddy has joined #ruby
ChmEarl has joined #ruby
nofxx_ has joined #ruby
nofxx__ has quit [Ping timeout: 246 seconds]
baojg has quit [Remote host closed the connection]
MalkbabY_ has joined #ruby
baojg has joined #ruby
MalkbabY has quit [Ping timeout: 240 seconds]
shtirlic has joined #ruby
cthulchu_ has joined #ruby
jetchisel has quit [Ping timeout: 240 seconds]
nofxx__ has joined #ruby
nofxx_ has quit [Ping timeout: 240 seconds]
Rudd0 has joined #ruby
TCZ has quit [Quit: oh eh ah]
jetchisel has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
fippy has left #ruby ["Leaving"]
<_mak> Why doesn't the single responsibility principle makes the code harder to read? If you have all in one place you don't need to keep on following functions to understand what is going on.. you just read the code top-down.
<_mak> My understanding for functions is if you have something that must be reused
<_mak> if not, there are no functions
<_mak> why am I wrong?
alexherbo2 has joined #ruby
<havenwood> _mak: throwing all the code in one drawer makes for a mess. it's for the humans.
<havenwood> _mak: there're more than one way to organize, but organize we must.
<havenwood> _mak: Depending on the domain, you might not need more than one drawer.
<_mak> creating functions that are not reused by anyone else just to make the main method slimmer feels like putting envelopes inside a drawer saying "theres more stuff in this drawer but you need to take BOX number 32 to see what it's in here"
<havenwood> _mak: It's like saying a sentence should have a single responsibility. You *can* not use sentences.
mike has joined #ruby
<mike> hi all, I have a test that keeps failing that I don't really understand why
<mike> expect(post :create, params: user_param).to not_change{User.count}
<_mak> the comparison doesn't apply because you don't hide the content of a sentence when you use it
<mike> expected result not to have changed, but was not given a block
<mike> I don't really understand the error
<_mak> havenwood: I've seen people move one if condition to a function named checkWhatever() just because 'it reads better'
<_mak> how hard it is to read a conditional
<_mak> and it forces me to follow the function to see what it is doing
<havenwood> mike: Confirm with more parens: expect(post :create, params: user_param).to(not_change) {User.count}
<havenwood> _mak: Yeah, Java style organization is an extreme and you can over extract "service objects" to the point of hilarity. The simplest thing that possibly works is a great starting point.
<havenwood> _mak: Functional paradigms are often preferable. Ruby supports modules of functions but it's less about avoiding SRP and more about whether the receiver mutates.
<havenwood> _mak: Elixir shows what I consider a clean functional style of organized modules of functions.
<havenwood> It's nice.
<havenwood> But there's more than one way to do it.
<havenwood> _mak: Many Rubyists prefer a functional style and even larger methods.
mike has quit [Quit: Connection closed]
<havenwood> _mak: You're not wrong, except once the system gets complex enough you'll find you're in the weeds unless you make some division of responsibility.
<_mak> havenwood: I can understand division of responsibility to the level of modules, but if I have one single main function that performs something that is long it will only make it worse to split that one function into 200 smaller functions and transform the main one in just() a() lot() of() calls()
<havenwood> _mak: That can be true. Depends on the code.
<_mak> damn.. no right or wrong eh
<_mak> I wonder where to draw the line
<havenwood> _mak: The general rule is to guide beginners to consider valuable naming of things and extraction to units that are testable.
<havenwood> Then you learn to break it when you should.
shtirlic has quit [Remote host closed the connection]
<_mak> do you know about something in the literature? I could not find much about this on Code Complete
<_mak> proper guidelines I mean
coniptor has joined #ruby
<havenwood> _mak: Have you read POODR? That might explain the OO perspective.
<havenwood> _mak: Or maybe more generically, Simple Made Easy or other Rich Hickey talks.
<havenwood> I can't think of anything directly on point offhand.
<_mak> I have not, I'll take a look
<_mak> thanks for your answers :)
redhands has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
evdubs has quit [Quit: Leaving]
<phaul> my guess on mike's error is expect needed a block. expect { post :create ... }.not_to change(User, :count). if we pass in the result of the post call, it's imposibble to test it for effects
roshanavand_ has joined #ruby
jenrzzz has joined #ruby
LenPayne_ has quit [Ping timeout: 250 seconds]
LenPayne has joined #ruby
roshanavand has quit [Ping timeout: 265 seconds]
gix has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
duderonomy has quit [Ping timeout: 252 seconds]
lockweel has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
weaksauce has joined #ruby
roshanavand_ has quit [Ping timeout: 252 seconds]
rubydoc has quit [Remote host closed the connection]
crankharder has joined #ruby
coniptor has joined #ruby
mic_e has joined #ruby
rubydoc has joined #ruby
mic_e has quit [Ping timeout: 240 seconds]
TomyWork has quit [Remote host closed the connection]
TrufflePump has quit [Ping timeout: 258 seconds]
TrufflePump has joined #ruby
howdoi has joined #ruby
jenrzzz has joined #ruby
LiteWait has joined #ruby
<LiteWait> New to ruby.  Getting this error using fluentd parser: invalid time format: value = 2021-04-14 17:52.18.777, error_class = ArgumentError,
<LiteWait> error = invalid strptime format - `%Y-%m-%d %H:%M:%S.%L
<LiteWait> Works on one system, identical ruby, gems, etc.
<LiteWait> fails on another.
LiteWait has quit [Quit: Connection closed]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
RougeRR has quit [Remote host closed the connection]
redhands has joined #ruby
neshpion has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
alexherbo2 has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
maroloccio has joined #ruby
lucasb has joined #ruby
alexherbo2 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
MalkbabY has joined #ruby
jenrzzz has joined #ruby
MalkbabY_ has quit [Ping timeout: 265 seconds]
bucareli has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
lockweel has quit [Quit: Leaving]
crankharder has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 246 seconds]
jla has joined #ruby
jenrzzz has joined #ruby
robotbee has joined #ruby
Tempesta has quit [Quit: See ya!]
vondruch has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ur5us has joined #ruby
bucareli has quit [Ping timeout: 265 seconds]
robotbee has quit [Ping timeout: 268 seconds]
bucareli has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
bucareli has quit [Ping timeout: 268 seconds]
jla has quit [Ping timeout: 240 seconds]
robotbee has joined #ruby
evdubs has joined #ruby
Kilo`byte has quit [Remote host closed the connection]
Kilo`byte has joined #ruby
bucareli has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
baojg has quit [Remote host closed the connection]
bucareli has quit [Ping timeout: 240 seconds]
baojg has joined #ruby
ur5us has quit [Ping timeout: 258 seconds]
bucareli has joined #ruby
drusepth has joined #ruby
bucareli has quit [Ping timeout: 268 seconds]
mic_e has joined #ruby
marcotc has quit [Quit: Connection closed for inactivity]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
cthulchu_ has quit [Ping timeout: 265 seconds]
Vaevictu1 has joined #ruby
baojg has quit [Remote host closed the connection]
Vaevictus has quit [Ping timeout: 240 seconds]
baojg has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
Rounin has quit [Ping timeout: 240 seconds]
gdonald has quit [Quit: leaving]
postmodern has joined #ruby
MalkbabY_ has joined #ruby
gdonald has joined #ruby
robotbee has quit [Changing host]
robotbee has joined #ruby
MalkbabY has quit [Ping timeout: 260 seconds]
regent has quit [Ping timeout: 240 seconds]