jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
venmx has quit [Ping timeout: 264 seconds]
pharma_joe has joined #ruby
pharma_joe has quit [Client Quit]
marmotini_ has quit [Ping timeout: 245 seconds]
RedNifre has quit [Ping timeout: 245 seconds]
pharma_joe has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
xfbs has joined #ruby
xfbs has quit [Client Quit]
cd has quit [Quit: cd]
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kies has joined #ruby
k0mpa has joined #ruby
ansraliant has joined #ruby
marmotini_ has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
mangold has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
AJA4350 has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Read error: Connection reset by peer]
pharma_joe has joined #ruby
g- has quit [Quit: WeeChat 1.6]
uplime has quit [Ping timeout: 245 seconds]
kies has quit [Ping timeout: 264 seconds]
marmotini_ has quit [Ping timeout: 268 seconds]
marmotini_ has joined #ruby
skwurl has joined #ruby
<skwurl> hey guys!
<skwurl> Question! tried the #rubyonrails channel, no response yet.
<skwurl> in a rails app could i use a controller to reference a textfile and display random content?
<skwurl> say generate a random name from a textfile and show it in the view.
jic has quit [Quit: -]
jic has joined #ruby
Robdgreat has joined #ruby
<skwurl> nvm got it! thx
uplime has joined #ruby
esrse has joined #ruby
gnufied has joined #ruby
RougeR has quit [Ping timeout: 252 seconds]
gnufied has quit [Quit: Leaving]
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
skwurl has quit [Quit: WeeChat 2.2]
streiu has quit [Ping timeout: 272 seconds]
pharma_joe has quit [Ping timeout: 252 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
<i8igmac> is there a way to use nokogiri to parse a url and get variables from list?=VAR
<Radar> i8igmac: Parse a URL? Use the in-built URI library.
<i8igmac> oh, that makes sense
<i8igmac> site,com/?list=value
<i8igmac> oh thanks got it
Dimik has quit [Ping timeout: 240 seconds]
mangold has quit [Ping timeout: 252 seconds]
tdy has quit [Ping timeout: 264 seconds]
donofrio has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mangold has joined #ruby
danguita has joined #ruby
marmotini_ has quit [Ping timeout: 246 seconds]
kurko__ has joined #ruby
kurko_ has quit [Ping timeout: 244 seconds]
aupadhye has joined #ruby
Tempesta has quit [Quit: See ya!]
tdy has joined #ruby
kapil____ has joined #ruby
petemoore has quit [Ping timeout: 252 seconds]
petemoore has joined #ruby
Tempesta has joined #ruby
eckhardt_ has joined #ruby
eckhardt_ has quit [Client Quit]
qolq3 has joined #ruby
qolq has quit [Read error: Connection reset by peer]
qolq3 is now known as qolq
RougeR has joined #ruby
Arkaniad has joined #ruby
Inline has quit [Quit: Leaving]
nadir has joined #ruby
jetchisel has quit [Ping timeout: 264 seconds]
reber has joined #ruby
johnny56 has quit [Ping timeout: 272 seconds]
Furai has quit [Remote host closed the connection]
Fr4n has joined #ruby
Furai has joined #ruby
RougeR has quit [Ping timeout: 268 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
MoritaShinobu has joined #ruby
johnny56 has joined #ruby
jetchisel has joined #ruby
ta_ has quit [Remote host closed the connection]
snickers has joined #ruby
Francisco has joined #ruby
Fr4n has quit [Remote host closed the connection]
Francisco has quit [Remote host closed the connection]
johnny56 has quit [Ping timeout: 272 seconds]
ch3ss has joined #ruby
venmx has joined #ruby
ch3ss has left #ruby ["WeeChat 2.2"]
Emmanuel_Chanel has joined #ruby
vondruch has quit [Quit: vondruch]
Tuor has joined #ruby
ellcs has joined #ruby
clemens3 has joined #ruby
za1b1tsu has joined #ruby
ta_ has joined #ruby
whysthatso has quit [Ping timeout: 252 seconds]
ellcs has quit [Ping timeout: 264 seconds]
venmx has quit [Ping timeout: 252 seconds]
solocshaw has joined #ruby
lypsis has quit [Ping timeout: 252 seconds]
solocshaw has quit [Quit: solocshaw]
lypsis has joined #ruby
za1b1tsu has quit [Quit: WeeChat 2.2]
RedNifre has joined #ruby
mikecmpbll has joined #ruby
lxsameer has joined #ruby
johnny56 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
darkxploit has joined #ruby
<darkxploit> Hello, i get the following error with the script test_key.rb --> could not settle on compression_client algorithm . Here is the script and the full output on https://pastebin.com/Z6sRunsp
<ruby[bot]> darkxploit: 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
<darkxploit> Hello, i get the following error with the script test_key.rb --> could not settle on compression_client algorithm . Here is the script and the full output on https://paste.linux.community/view/0711a0f7
blackmesa has joined #ruby
venmx has joined #ruby
phaul has joined #ruby
vondruch has joined #ruby
<al2o3-cr> darkxploit: what happens if you set compression to "zlib@openssh.com" ?
blackmesa has quit [Ping timeout: 264 seconds]
<al2o3-cr> failing that try true/false
DarthGandalf has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
LiftLeft has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
whysthatso has joined #ruby
<darkxploit> al2o3-cr: the error changed to process_cache_miss: fingerprint sha256xxxx does not match for <IP>
<darkxploit> al2o3-cr: true or false produce initial error encountered
cd has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
danguita has quit [Quit: Connection closed for inactivity]
whysthatso has quit [Remote host closed the connection]
whysthatso has joined #ruby
blackmesa has joined #ruby
whysthatso has quit [Client Quit]
whysthatso has joined #ruby
whysthatso has quit [Read error: Connection reset by peer]
whysthatso has joined #ruby
whysthatso has quit [Remote host closed the connection]
whysthatso has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
<darkxploit> al2o3-cr: i emptied the known_hosts file and launch anew, Now it prompt me the password each time
TheBloke has quit [Ping timeout: 252 seconds]
TheBloke has joined #ruby
TheBloke has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
TheBloke has joined #ruby
arup_r has joined #ruby
TheBloke has quit [Ping timeout: 246 seconds]
danguita has joined #ruby
TheBloke has joined #ruby
blackmesa has joined #ruby
TheBloke has quit [Read error: Connection reset by peer]
Bish has joined #ruby
<Bish> how do i paginage 0..10000 in 512er steps?
<Bish> >> (0....2000000).each_slice(512).map(&:first)
<ruby[bot]> Bish: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<Bish> >> (0..2000000).each_slice(512).map(&:first)
<ruby[bot]> Bish: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<Bish> like this, or is there a better way?
TheBloke has joined #ruby
TheBloke has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 252 seconds]
TheBloke has joined #ruby
esrse has quit [Ping timeout: 264 seconds]
MoritaShinobu has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
MoritaShinobu has joined #ruby
<phaul> &ri step
<rubydoc> I found 3 entries matching method step. Use &list step if you would like to see a list
<phaul> &list step
<rubydoc> Numeric#step, Range#step, Date#step
<phaul> ri Range#step
<phaul> &ri Range#step
<Bish> thanks.
xfbs has joined #ruby
rkoller has joined #ruby
kapil____ has joined #ruby
Cthulu201 has joined #ruby
arup_r has quit []
apparition47 has joined #ruby
pavelz has joined #ruby
<pavelz> hi anyone good and strong with rspec here?
<phaul> pavelz: ask away, and we will see :)
<pavelz> i tried putting definition of double objects in before block but there is an error
<pavelz> says I can't rspec-mock outside of exmaples
<pavelz> so q is where can I put repetitive blocks of mocks?
<phaul> you can put them in let
<phaul> let (:blah) { double('blah') }; decribe Blah { before { allow(blah).to receive ...
<pavelz> ah ok thaks!
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has quit [Ping timeout: 264 seconds]
infernix has quit [Ping timeout: 252 seconds]
<pavelz> it seems to work if I do allow in let block what is the second part?
<pavelz> describe is for describleing blah class?
<phaul> yes. I just don't tend to put more than assignments in let, but stylistic difference only
<phaul> not the greatest example but something like this https://github.com/phaul/yarr/blob/master/spec/yarr/config_file_spec.rb
wojnar has joined #ruby
<pavelz> that cleared it up 100% thanks!
clemens3 has quit [Read error: Connection reset by peer]
clemens3 has joined #ruby
whysthatso has quit [Quit: whysthatso]
xfbs has quit [Quit: afk]
AJA4350 has joined #ruby
whysthatso has joined #ruby
infernix has joined #ruby
x0f has quit [Quit: quit]
x0f has joined #ruby
djellemah_ has joined #ruby
djellemah has quit [Ping timeout: 264 seconds]
ta_ has quit [Remote host closed the connection]
jcalla has quit [Quit: Leaving]
Tuor has quit [Ping timeout: 252 seconds]
xfbs has joined #ruby
djellemah_ has quit [Quit: Au revoir]
djellemah_ has joined #ruby
djellemah_ is now known as djellemah
RedNifre has quit [Quit: kwit]
k0mpa has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
fribmendes has quit [Quit: The Lounge - https://thelounge.github.io]
fribmendes has joined #ruby
jcalla has joined #ruby
bak1an has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
NL3limin4t0r has joined #ruby
zipace has joined #ruby
jetchisel has quit [Ping timeout: 268 seconds]
GodFather has quit [Ping timeout: 264 seconds]
fribmendes has quit [Quit: The Lounge - https://thelounge.github.io]
fribmendes has joined #ruby
jetchisel has joined #ruby
donofrio has joined #ruby
GodFather has joined #ruby
darkxploit has quit [Ping timeout: 256 seconds]
whysthatso has quit [Ping timeout: 268 seconds]
cd has quit [Quit: cd]
uplime has quit [Ping timeout: 240 seconds]
<eb0t_> hey when doing a sitemap...do you inclde everythig on the site including login forms and enquiry forms
gregf_ has joined #ruby
cd has joined #ruby
Rapture has joined #ruby
akaiiro has joined #ruby
apparition47 has quit [Quit: Bye]
jottr has quit [Ping timeout: 252 seconds]
beefjoe has joined #ruby
Snowy has joined #ruby
qolq3 has joined #ruby
qolq has quit [Read error: Connection reset by peer]
qolq3 is now known as qolq
mostlybadfly has joined #ruby
whysthatso has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
blackmesa has joined #ruby