ChanServ changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ https://irclog.whitequark.org/ruby/
Azure has quit [Read error: Connection reset by peer]
<baweaver> IbrahimA: #RubyOnRails might be a better place to ask.
nankyokusei has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
<jhass> map.uniq ?
jenrzzz has quit [Ping timeout: 258 seconds]
kobain has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
AustinMatherne has quit [Remote host closed the connection]
Guest38_ has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
ruid has joined #ruby
Tempesta has left #ruby [#ruby]
<IbrahimA> hmm, the pattern isn't really rails specific i would think
<baweaver> (If it were a rails collection, the answer would be very different.)
blackmesa has quit [Ping timeout: 276 seconds]
<IbrahimA> do you mean an activerecord relation? how so?
<baweaver> then it'd likely be some variant of DISTINCT or GROUP
<IbrahimA> well im not actually grouping because there should only be one element per group
<baweaver> but again, this is far more of a topic for #RubyOnRails.
<matthewd> ActiveSupport has Enumerable#index_by
<baweaver> Loading all the resources into memory would be very inefficient if you need something like counts or unique names.
<baweaver> Model.group(:attribute).count would make something like {a: 15, b: 10, c: 5}
<IbrahimA> im not counting, i need every instance
<matthewd> But there are much better options if it's an ActiveRecord relation... which are not on topic here.
<IbrahimA> matthewd: thanks! that's what im looking for
<matthewd> It might be what you're looking for, but I'm not so convinced it's the right tool for the job
<IbrahimA> perhaps not
Torrone has quit [Quit: This computer has gone to sleep]
<IbrahimA> are you saying i should be using includes to include all needed assocations?
<matthewd> I'm saying you should join #rubyonrails
jhack has joined #ruby
<IbrahimA> hm ok, well thanks! maybe another time i'll try to figure out why this pattern occurs in our codebase and whether there's a better way but i have more important things to worry about right now. was just curious
AnFin has joined #ruby
IbrahimA has left #ruby [#ruby]
cdg has quit [Remote host closed the connection]
AnFin has left #ruby [#ruby]
AnFin has joined #ruby
AnFin has left #ruby ["linux"]
AnFin has joined #ruby
memorasus has quit [Read error: Connection reset by peer]
rkazak has joined #ruby
nettoweb has joined #ruby
JeanCarloMachado has joined #ruby
JeanCarloMachado has quit [Remote host closed the connection]
PickAndMix has quit [Quit: WeeChat 1.4]
hahuang61 has joined #ruby
djbkd has quit [Quit: My people need me...]
Rodya_ has joined #ruby
rcvalle has quit [Quit: rcvalle]
davidw has quit [Ping timeout: 265 seconds]
spectrum has quit [Ping timeout: 252 seconds]
JeanCarloMachado has joined #ruby
nitric has quit [Ping timeout: 244 seconds]
JeanCarloMachado has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 250 seconds]
blackgoat has quit [Ping timeout: 244 seconds]
JeanCarloMachado has joined #ruby
rgiscard has quit [Ping timeout: 276 seconds]
JeanCarloMachado has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 240 seconds]
theta8 has quit [Quit: leaving]
dsea has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
the_rhizo2 has quit [Ping timeout: 252 seconds]
replay has quit []
<ICantCook> I'm trying to cat a file into ruby from the shell (cat file.txt |ruby -e '') and use "gets" to read the file
<ICantCook> but only the first line is being read
<ICantCook> by gets
JeanCarloMachado has joined #ruby
<ICantCook> how can I read through the entire file?
the_rhizo2 has joined #ruby
<AnFin> ruby file.txt?
karapetyan has quit [Ping timeout: 244 seconds]
<ICantCook> AnFin: no, I'm going to do some regex, etc on the file first, then "puts" out some output to use in the shell
jgt2 has quit [Ping timeout: 244 seconds]
marr has quit [Remote host closed the connection]
workmad3 has joined #ruby
<AnFin> 'ruby -e' works with one string, isn't it?
roflmyeggo has joined #ruby
<AnFin> always, as fact
blackgoat has joined #ruby
<xaviergmail> Right so I see .to_s being used a lot, is that a function or a member that executes code when accessed?
<jhass> ICantCook use $stdin.read
<xaviergmail> I guess what I'm asking is: if I access an object's field that is a function, does the function get automatically called even without parenthesis or do I get the function object itself
<ICantCook> jhass: that gives me an array :(
AnFin is now known as Guest7628
workmad3 has quit [Ping timeout: 244 seconds]
<jhass> read doesn't, readlines would
the_rhizo2 has quit [Ping timeout: 258 seconds]
leitz has quit [Quit: Nappy time]
astrobun_ has quit [Remote host closed the connection]
der-landgraf has quit [Ping timeout: 258 seconds]
ramfjord_ has joined #ruby
Guest7628 has quit [Ping timeout: 265 seconds]
<jhass> xaviergmail it's a method call, no property access or first class methods in Ruby
LoneHerm_ has joined #ruby
AnFin__ has joined #ruby
<xaviergmail> Aw :( I love first class functions
LoneHerm_ has quit [Remote host closed the connection]
<xaviergmail> I'll live without them though, thanks for helping out!
LoneHerm_ has joined #ruby
<jhass> Blocks and procs fill their usecase
der-landgraf has joined #ruby
GinoMan2440 has quit [Ping timeout: 250 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
stamina has quit [Ping timeout: 250 seconds]
aryaching has quit [Ping timeout: 244 seconds]
<xaviergmail> Gotcha
<jhass> I also would say no functions in Ruby, only methods, though some people consider procs to be functions
GinoMan2440 has joined #ruby
dminuoso has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
<xaviergmail> Hmm?
tvw has quit [Ping timeout: 260 seconds]
aryaching has joined #ruby
A_Drone has joined #ruby
dminuoso has quit [Ping timeout: 258 seconds]
evilNerd is now known as rails
daffy_duck_2 has quit [Ping timeout: 265 seconds]
<xaviergmail> Isn't `def f(x) return x*2 end` a function, seeing as it doesn't operate on an.. but x is an object, this just got marginally more confusing
johnny56_ has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
<xaviergmail> I'll hold onto that thought for a while
hutch34 has joined #ruby
johnny56_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 244 seconds]
harfangk has joined #ruby
swills has joined #ruby
der-landgraf has quit [Ping timeout: 250 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
blackmesa has joined #ruby
Balzrael has quit [Quit: Leaving]
AnFin__ has left #ruby [#ruby]
hutch34 has quit [Ping timeout: 258 seconds]
<matthewd> xaviergmail: It's still a method, which you call on a particular object; the fact you're not accessing the object doesn't change that
<ICantCook> jhass: thanks :)
der-landgraf has joined #ruby
<xaviergmail> matthewd: Yeah that's what I began to think as I wrote that out
yeticry has quit [Ping timeout: 244 seconds]
daffy_duck_2 has joined #ruby
yeticry has joined #ruby
<matthewd> Ah, okay. I just wanted to clarify that x isn't the object in question
<xaviergmail> Wait that wasn't clarified x_x
<xaviergmail> Where does this 'particular object' come from
<matthewd> There is a 'self' inside that method, which refers the object the method was called on
nando293921 has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 244 seconds]
<jhass> Toplevel methods are defined as private on Object and called on main, an instance of Object and the self of the toplevel
Dysp has quit [Ping timeout: 250 seconds]
<xaviergmail> if I just do print f(5) in a script's body, what is self? The current scope..?
<jhass> See above :)
<xaviergmail> ag
<xaviergmail> ah*
c355e3b has quit [Quit: Connection closed for inactivity]
<xaviergmail> Interesting concept
AustinMatherne has joined #ruby
sneakerhax has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
Ropeney has joined #ruby
JeanCarloMachado has quit [Ping timeout: 258 seconds]
ramfjord_ has quit [Ping timeout: 258 seconds]
SilverKey has joined #ruby
etehtsea has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
Azure has joined #ruby
Azure has quit [Read error: Connection reset by peer]
spudowiar has quit [Quit: Leaving.]
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Azure has joined #ruby
Azure has quit [Read error: Connection reset by peer]
ebbflowgo has quit [Quit: ebbflowgo]
Azure has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
douglasc_ has joined #ruby
spudowiar has joined #ruby
johnny56 has joined #ruby
azor has quit [Quit: Connection closed for inactivity]
johnny56_ has quit [Ping timeout: 264 seconds]
ebbflowgo has joined #ruby
the_rhizo2 has joined #ruby
douglasc_ has quit []
dionysus69 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Azure has quit [Read error: Connection reset by peer]
arescorpio has joined #ruby
the_rhizo2 has quit [Ping timeout: 250 seconds]
Azure has joined #ruby
ruid has quit [Ping timeout: 240 seconds]
bad_ip has joined #ruby
rkazak has joined #ruby
nickjj_ has joined #ruby
zel has joined #ruby
zel is now known as Guest11585
meinside has quit [Quit: Connection closed for inactivity]
nickjj has quit [Ping timeout: 244 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
Azure has quit [Read error: Connection reset by peer]
dminuoso has joined #ruby
Azure has joined #ruby
LoneHerm_ has joined #ruby
nankyokusei has joined #ruby
P_R_Deltoid has joined #ruby
swills has quit [Quit: Leaving]
the_rhizo2 has joined #ruby
<P_R_Deltoid> Is there anything funky about returning Proc objects from functions as opposed to creating them inline before they are used?
SilverKey has quit [Ping timeout: 260 seconds]
astrobun_ has joined #ruby
truelai has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 276 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
Velizar has quit [Quit: Velizar]
<P_R_Deltoid> Nevermind, I am an idiot and didn't realize I was using a local variable which wasn't available
astrobun_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
hutch34 has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
Rodya_ has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
yeticry_ has quit [Ping timeout: 250 seconds]
JUgelen has joined #ruby
skweek has joined #ruby
blackmesa has joined #ruby
dionysus69 has quit [Quit: dionysus69]
A_Drone has quit [Remote host closed the connection]
yeticry_ has joined #ruby
JUgelen has quit [Read error: Connection reset by peer]
swills has joined #ruby
Azure has quit [Read error: Connection reset by peer]
xlegoman has joined #ruby
Azure has joined #ruby
JUgelen has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
enodata has joined #ruby
dionysus69 has joined #ruby
Azure has quit [Read error: Connection reset by peer]
pokalyis has joined #ruby
Azure has joined #ruby
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
johnny56 has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
shinnya has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
hahuang61 has joined #ruby
nettoweb has joined #ruby
amclain has quit [Quit: Leaving]
A_Drone has joined #ruby
Titre12 has joined #ruby
Azure has quit [Read error: Connection reset by peer]
hahuang61 has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
jzigmund has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
govg has quit [Ping timeout: 258 seconds]
Azure has joined #ruby
Titre12 has quit [Read error: Connection reset by peer]
bad_ip has quit [Ping timeout: 265 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
thebrianguy has joined #ruby
ebbflowgo has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ericsupreme has joined #ruby
Azure has quit [Read error: Connection reset by peer]
ebbflowgo has quit [Client Quit]
thebrianguy has left #ruby ["Leaving"]
Azure has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
thebrianguy has joined #ruby
dminuoso has joined #ruby
etehtsea has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
rgiscard has joined #ruby
GodFather has quit [Ping timeout: 265 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
jishankai has joined #ruby
gnufied has joined #ruby
karapetyan has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
titre1 has joined #ruby
karapetyan has quit [Ping timeout: 264 seconds]
ericsupreme has quit [Quit: Leaving]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
rgiscard has quit [Ping timeout: 264 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
rgiscard has joined #ruby
blackmesa has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
rgiscard has quit [Client Quit]
rgiscard has joined #ruby
A_Drone has quit [Remote host closed the connection]
Rodya_ has joined #ruby
A_Drone has joined #ruby
<thebrianguy> topic
<titre1> hi
<titre1> bay
titre1 has quit [Quit: Saliendo]
blackmesa has quit [Ping timeout: 276 seconds]
Rodya_ has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
Azure has joined #ruby
karapetyan has joined #ruby
<thebrianguy> I am doing an exercise from Learn to Program where I am to take an array of names or words and shuffle the order. I want to be able to pass a parameter to dictate how many times the loop will run to shuffle the names or words. However I am seeing something I don't understand. The variable is for a while loop. However I noticed that once it hits zero it continues and even appears to create random numbers. https://gist.github.com/Th
<thebrianguy> eBrianGuy/d6ea9232fb64475c0f888a787b6c9c03
A_Drone has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
<monoprotic> you're calling shuffle in the loop
<monoprotic> thats called recursion and its probably not what you intended to do
A_Drone has joined #ruby
<thebrianguy> I am trying to do recursion. I don't doubt I may not be using it correctly
Azure has joined #ruby
<monoprotic> remove the while loop then
karapetyan has quit [Ping timeout: 265 seconds]
<monoprotic> and only call shuffle again if i > 0 after decrementing it
Azure has quit [Read error: Connection reset by peer]
<monoprotic> thats one approach
<thebrianguy> ah perfect! thanks! that worked.
Azure has joined #ruby
<monoprotic> you can replace the recursion with a loop like the one you had
<thebrianguy> If I understand recursion or loop is a preference in many cases correct?
hahuang61 has joined #ruby
Azure has quit [Read error: Connection reset by peer]
nfsnobody has quit [Changing host]
nfsnobody has joined #ruby
Azure has joined #ruby
der-landgraf has quit [Ping timeout: 258 seconds]
enodata has quit [Quit: Leaving]
xaviergmail has quit [Read error: Connection reset by peer]
xaviergmail has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
blackgoat has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
der-landgraf has joined #ruby
howdoi has joined #ruby
Fly77_ has joined #ruby
Fly77_ has quit [Remote host closed the connection]
der-landgraf has quit [Ping timeout: 240 seconds]
Azure has quit [Read error: Connection reset by peer]
gnufied has quit [Ping timeout: 250 seconds]
Azure has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
Azure has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
der-landgraf has joined #ruby
arescorpio has quit [Quit: Leaving.]
Azure has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
<al2o3-cr> ee by gum cockers
Azure has quit [Read error: Connection reset by peer]
matp has joined #ruby
gix has quit [Ping timeout: 260 seconds]
hizumi has joined #ruby
LoneHermit has joined #ruby
Azure has joined #ruby
hutch34 has quit [Ping timeout: 252 seconds]
<al2o3-cr> i know how to make everyone think like good programmers...
<al2o3-cr> eat more dim sum (no joke)
gix has joined #ruby
<al2o3-cr> this is the food of gods
kaiks has joined #ruby
LoneHermit has quit [Ping timeout: 264 seconds]
der-landgraf has quit [Ping timeout: 250 seconds]
kx has quit [Ping timeout: 240 seconds]
* hizumi Orp
nankyokusei has joined #ruby
dminuoso has joined #ruby
hizumi has quit [Quit: leaving]
qguv has quit [Quit: bye]
qguv has joined #ruby
Azure has quit [Read error: Connection reset by peer]
devec0 has quit [Ping timeout: 258 seconds]
diegoviola has quit [Quit: WeeChat 1.5]
Azure has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
dminuoso has quit [Ping timeout: 244 seconds]
Rodya_ has quit [Remote host closed the connection]
blackgoat has joined #ruby
JUgelen has quit [Ping timeout: 265 seconds]
TheodoreBe has joined #ruby
TheodoreBe has quit [Client Quit]
dunpeal has quit [Ping timeout: 276 seconds]
TheodoreBe has joined #ruby
<al2o3-cr> just a hint (don't bother with coding/programming without {E/e]nglish/{M/m}athematics) semi knowledge. [T/t]rue story!
TheodoreBe has quit [Client Quit]
dhollinger has joined #ruby
blackmesa has joined #ruby
Spami has joined #ruby
Tristan-Speccy has joined #ruby
Tristan-Speccy is now known as Guest30379
A_Drone has quit [Remote host closed the connection]
Rodya_ has joined #ruby
robotmad50 has joined #ruby
<robotmad50> hi folks. could a kind soul please walk me through in getting a ruby on rails project setup?
<havenwood> robotmad50: What have you done so far?
<robotmad50> I've installed ruby, I've confirmed that by using 'ruby --version' and receiving: ruby 2.2.4p230 as a result
<robotmad50> I've also installed rails, and tested it and received: rails 5.0.0
iMadper has joined #ruby
<robotmad50> I've installed postgres, but I installed it with their own installer on their website (running windows)
whathappens has joined #ruby
<robotmad50> and from what I am reading on how to set that up with rails, I may or may not need to install something on the rail end as well?
<robotmad50> this is where I am running into difficulty
nando293921 has quit [Ping timeout: 258 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
astrobun_ has joined #ruby
Azure has quit [Read error: Connection reset by peer]
AndrewIsHere has quit [Remote host closed the connection]
<robotmad50> so from what I understand, I got the different pieces ready to go
<robotmad50> I just don't know how to link them nicely
<robotmad50> I am still unsure about the postgres thing though, so if someone could shed light on that, I would appreciate that
<havenwood> robotmad50: The #RubyOnRails channel is the most on-topic for questions that are specific to Rails.
karapetyan has joined #ruby
<havenwood> robotmad50: Does it work with sqlite?
Azure has joined #ruby
<robotmad50> no idea, haven't touched a thing after installing the components
<robotmad50> I was afraid of messing it up
roflmyeggo has quit [Ping timeout: 244 seconds]
A_Drone has joined #ruby
nando293921 has joined #ruby
<havenwood> robotmad50: I'd suggest following the Rails guide for getting started: http://guides.rubyonrails.org/getting_started.html
<al2o3-cr> >> alias lee p; alias sleep p; lee == sleep ? "sleep" : "sleep anyway"
<ruby[bot]> al2o3-cr: # => "sleep" (https://eval.in/620276)
Azure has quit [Read error: Connection reset by peer]
<al2o3-cr> ok. goodnight
Azure has joined #ruby
<havenwood> robotmad50: Let us know if you run into any errors and need help!
karapetyan has quit [Ping timeout: 244 seconds]
Azure has quit [Read error: Connection reset by peer]
spudowiar has quit [Quit: Leaving.]
hutch34 has joined #ruby
Azure has joined #ruby
hahuang61 has joined #ruby
johnny56_ has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
conta has joined #ruby
MrBusiness has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
cd-rum has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
etehtsea has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: Sleep.....ing....]
etehtsea has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 252 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
leea has joined #ruby
robotmad50 has quit [Quit: Page closed]
der-landgraf has joined #ruby
martinium has quit [Ping timeout: 258 seconds]
Neobenedict has quit [Ping timeout: 265 seconds]
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
stuartrexking has joined #ruby
LoneHerm_ has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Remote host closed the connection]
bluOxigen has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
tmtwd has joined #ruby
Guest30379 is now known as Tristan-Speccy
etehtsea has quit [Read error: Connection reset by peer]
thebrianguy has left #ruby ["Leaving"]
alfiemax has joined #ruby
LoneHerm_ has quit [Ping timeout: 276 seconds]
Neobenedict has quit [Ping timeout: 252 seconds]
Neobenedict has joined #ruby
dminuoso has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aganov has joined #ruby
martinium has joined #ruby
pokalyis has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
Ropeney has quit [Excess Flood]
martinium has quit [Ping timeout: 244 seconds]
Miron has quit [Ping timeout: 240 seconds]
astrobun_ has joined #ruby
Miron has joined #ruby
astrobun_ has quit [Remote host closed the connection]
der-landgraf has quit [Ping timeout: 265 seconds]
rgiscard has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
lxsameer has joined #ruby
blackmesa has joined #ruby
martinium has joined #ruby
conta has quit [Ping timeout: 264 seconds]
Ropeney has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
teclator has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 265 seconds]
pokalyis has joined #ruby
Miron has quit [Ping timeout: 276 seconds]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
Miron has joined #ruby
hahuang61 has joined #ruby
jenrzzz has joined #ruby
nbdy has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
A_Drone has quit [Ping timeout: 252 seconds]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 258 seconds]
Pupp3tm4st3r has joined #ruby
pokalyis has joined #ruby
deniskozlov has joined #ruby
hk238 has joined #ruby
ledestin has joined #ruby
whathappens has quit [Ping timeout: 250 seconds]
solars has joined #ruby
Velizar has joined #ruby
Pupp3tm4st3r has quit [Ping timeout: 250 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Remote host closed the connection]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pokalyis has joined #ruby
Pupeno_ has joined #ruby
solars has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 276 seconds]
ur5us has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 258 seconds]
skakri` is now known as skakri
Miron has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cheerio]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Miron has joined #ruby
pokalyis has joined #ruby
Rodya_ has quit [Remote host closed the connection]
nankyokusei has joined #ruby
A_Drone has joined #ruby
dminuoso has joined #ruby
Rodya_ has joined #ruby
nofxx has quit [Ping timeout: 264 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
jenrzzz has joined #ruby
zacstewart has quit [Ping timeout: 264 seconds]
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 265 seconds]
Macaveli has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shinnya has joined #ruby
Pupp3tm4st3r has joined #ruby
solars has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
the_rhizo2 has quit [Ping timeout: 265 seconds]
dunpeal has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Pupp3tm4st3r has quit [Remote host closed the connection]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eprasad has joined #ruby
aryaching has quit [Remote host closed the connection]
xaviergmail has quit [Read error: Connection reset by peer]
pokalyis has joined #ruby
xaviergmail has joined #ruby
macsteps has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
Pupp3tm4st3r has joined #ruby
Velizar has quit [Ping timeout: 252 seconds]
jackjackdripper has quit [Client Quit]
iMadper is now known as iMadper|mtg
bjh13 has joined #ruby
<Macaveli> Via ActivieRecord how do I delete all the results from: FieldValue.where(field_id: 392) ?
saneax_AFK is now known as saneax
aufi has joined #ruby
Rodya_ has joined #ruby
saneax is now known as Guest38498
TomyLobo has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
<hanmac> ?rails Macaveli
<ruby[bot]> Macaveli: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
Pupp3tm4st3r has quit [Ping timeout: 244 seconds]
Gadgetoid has quit [Ping timeout: 258 seconds]
pokalyis has joined #ruby
dunpeal has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
Gadgetoid has joined #ruby
last_staff has joined #ruby
n1xt0rt has joined #ruby
n1xt0rt has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
Mon_Ouie has quit [Ping timeout: 250 seconds]
der-landgraf has joined #ruby
<Macaveli> didn't know it was rails my bad :p
Rodya_ has quit [Quit: Leaving...]
Oog has joined #ruby
AndrewIsHere has quit [Ping timeout: 240 seconds]
Mon_Ouie has joined #ruby
<hanmac> Macaveli: its not rails per se, but extremly integreated into rails, that you probably get better help there
iMadper|mtg is now known as iMadper
jenrzzz has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
firstdayonthejob has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
conta has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
bocaneri has joined #ruby
hahuang61 has joined #ruby
Cohedrin has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
Pupp3tm4st3r has joined #ruby
jaequery has joined #ruby
blackgoat has quit [Ping timeout: 264 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
yfeldblum has joined #ruby
yardenbar has joined #ruby
paradisaeidae has joined #ruby
firstdayonthejob has quit [Ping timeout: 244 seconds]
karapetyan has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
A_Drone has quit [Remote host closed the connection]
anisha_ has joined #ruby
A_Drone has joined #ruby
Pupeno has joined #ruby
luluapple has joined #ruby
karapetyan has joined #ruby
jenrzzz has joined #ruby
Pupeno_ has quit [Ping timeout: 276 seconds]
submitnine has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has quit [Ping timeout: 258 seconds]
p0p0pr37 has joined #ruby
LoneHermit has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Velizar has joined #ruby
pokalyis has joined #ruby
davidklsn has joined #ruby
A_Drone has quit [Remote host closed the connection]
ponga has joined #ruby
Spami has joined #ruby
LoneHermit has quit [Ping timeout: 250 seconds]
CloCkWeRX has joined #ruby
l4v2 has quit [Quit: l4v2]
zacstewart has joined #ruby
terlar has joined #ruby
dminuoso has joined #ruby
Spami has quit [Client Quit]
joonty has joined #ruby
joonty has quit [Client Quit]
phredus has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
zarubin has joined #ruby
zacstewart has quit [Ping timeout: 265 seconds]
abhinav has joined #ruby
<abhinav> crossposting: how to securely use Marshal for closing objects and all its associations?
jaruga___ has joined #ruby
<abhinav> cloning*
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupp3tm4st3r has quit [Remote host closed the connection]
pokalyis has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
Pupp3tm4st3r has joined #ruby
Pupp3tm4st3r has quit [Remote host closed the connection]
dionysus69 has joined #ruby
Pupp3tm4st3r has joined #ruby
Nahra has quit [Ping timeout: 240 seconds]
Pupp3tm4st3r has quit [Remote host closed the connection]
TomyWork has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Oog has quit []
Pupp3tm4st3r has joined #ruby
fnux has quit [Quit: ZNC - http://znc.in]
<atmosx> hi, File.readlines('foo.txt') will read the lines and close the file right? So if I do => unless File.readlines("foo").grep(/#{string}/).any?; File.open('foo', 'a') { |f| f << "#{string}"}; end ... I don't risk file corruption right?
paradisaeidae has quit [Remote host closed the connection]
stuartrexking has quit [Ping timeout: 240 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ropeney has quit [Ping timeout: 244 seconds]
andikr has joined #ruby
zacts has joined #ruby
zacts has quit [Client Quit]
zacts has joined #ruby
nbdy has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
fnux has joined #ruby
iMadper` has joined #ruby
Guest38498 is now known as saneax_AFK
iMadper has quit [Ping timeout: 240 seconds]
A_Drone has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
ddffg has joined #ruby
hahuang61 has joined #ruby
astrobun_ has joined #ruby
Silthias1 has joined #ruby
astrobun_ has quit [Remote host closed the connection]
eprasad has quit [Ping timeout: 260 seconds]
Silthias has quit [Ping timeout: 260 seconds]
astrobun_ has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Remote host closed the connection]
Nahra has joined #ruby
devec0 has joined #ruby
dionysus69 has joined #ruby
macsteps has joined #ruby
stan has quit [Quit: Leaving]
Silex has quit [Quit: WeeChat 1.4]
antgel has joined #ruby
macsteps has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Remote host closed the connection]
davidklsn has quit [Quit: Textual IRC Client: www.textualapp.com]
mrgrieves has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
yeticry_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
edwinvdgraaf has joined #ruby
A_Drone has quit [Read error: Connection reset by peer]
yeticry has joined #ruby
aupadhye has joined #ruby
yeticry_ has joined #ruby
LoneHermit has joined #ruby
indistylo has joined #ruby
LoneHermit has quit [Ping timeout: 250 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
iMadper`` has joined #ruby
zacstewart has joined #ruby
nankyokusei has joined #ruby
sulky has quit [Ping timeout: 276 seconds]
beawesomeinstead has quit [Ping timeout: 276 seconds]
iMadper` has quit [Ping timeout: 265 seconds]
sulky has joined #ruby
hk238 has joined #ruby
dminuoso has joined #ruby
A_Drone has joined #ruby
aries_liuxueyang has quit [Ping timeout: 240 seconds]
aries_liuxueyang has joined #ruby
ELLIOTTCABLE has quit [Ping timeout: 264 seconds]
nadir has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
zacstewart has quit [Ping timeout: 244 seconds]
nadir has joined #ruby
stan has joined #ruby
passbe has quit [Ping timeout: 244 seconds]
ELLIOTTCABLE has joined #ruby
yfeldblum has quit [Remote host closed the connection]
tomphp has joined #ruby
beawesomeinstead has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
pokalyis has joined #ruby
gmci has quit [Ping timeout: 264 seconds]
glcx has quit [Ping timeout: 264 seconds]
dn5 has quit [Quit: leaving]
gmci has joined #ruby
yfeldblum has joined #ruby
edgr has quit [Ping timeout: 240 seconds]
beawesomeinstead has quit [Ping timeout: 264 seconds]
glcx has joined #ruby
Torrone has joined #ruby
<Bish> who the f create the multipart/form-data standard
jolamb has quit [Quit: ZNC - http://znc.in]
zipkid has quit [Ping timeout: 260 seconds]
beawesomeinstead has joined #ruby
rileyy has joined #ruby
edgr has joined #ruby
zipkid has joined #ruby
flying has joined #ruby
mark_66 has joined #ruby
Dimik has quit [Ping timeout: 265 seconds]
Pupeno has quit [Quit: Leaving...]
theRoUS has quit [Ping timeout: 276 seconds]
yeticry_ has quit [Ping timeout: 260 seconds]
dunpeal has joined #ruby
yeticry_ has joined #ruby
mim1k has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
haraoka has joined #ruby
dunpeal has quit [Ping timeout: 265 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo_ has joined #ruby
AndrewIsHere has joined #ruby
araujo_ has quit [Max SendQ exceeded]
leea has joined #ruby
araujo_ has joined #ruby
araujo has quit [Ping timeout: 276 seconds]
saneax_AFK is now known as saneax
tomphp has joined #ruby
blackmesa has joined #ruby
saneax is now known as Guest25838
araujo_ has quit [Max SendQ exceeded]
AndrewIsHere has quit [Ping timeout: 244 seconds]
araujo_ has joined #ruby
beawesomeinstead has quit [Ping timeout: 260 seconds]
nadir has quit [Ping timeout: 258 seconds]
P_R_Deltoid has quit [Remote host closed the connection]
joonty has joined #ruby
bluOxigen has joined #ruby
passbe has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
dionysus69 has joined #ruby
der-landgraf has quit [Ping timeout: 258 seconds]
nadir has joined #ruby
Ishido has joined #ruby
beawesomeinstead has joined #ruby
dionysus69 has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 258 seconds]
hahuang61 has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
macsteps has joined #ruby
blackmesa has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
macsteps has quit [Ping timeout: 240 seconds]
<abhinav> how to securely use Marshal for cloning objects and all its associations?
haraoka has quit [Ping timeout: 252 seconds]
ur5us has quit [Remote host closed the connection]
der-landgraf has joined #ruby
jolamb has joined #ruby
dionysus69 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
Cohedrin has quit [Client Quit]
teclator has quit [Ping timeout: 244 seconds]
LoneHermit has joined #ruby
ReK2 has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 240 seconds]
araujo__ has joined #ruby
glcx_ has joined #ruby
blackgoat has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
dminuoso has joined #ruby
anisha_ has joined #ruby
A_Drone has quit [Ping timeout: 244 seconds]
jgt2 has joined #ruby
araujo_ has quit [Ping timeout: 252 seconds]
crissae has joined #ruby
blackgoat has quit [Ping timeout: 244 seconds]
tomphp_ has joined #ruby
tomphp has quit [Ping timeout: 265 seconds]
Macaveli has quit [Read error: No route to host]
da3mon has joined #ruby
dminuoso has quit [Ping timeout: 258 seconds]
c355e3b has joined #ruby
mim1k has quit [Ping timeout: 276 seconds]
teclator has joined #ruby
da3mon has quit [Read error: Connection reset by peer]
da3mon has joined #ruby
govg has joined #ruby
da3mon is now known as demian
workmad3 has joined #ruby
A_Drone has joined #ruby
yfeldblum has joined #ruby
mikecmpbll has joined #ruby
AnFin has joined #ruby
Snowy has joined #ruby
fnux has quit [Quit: ZNC - http://znc.in]
Miron has quit [Ping timeout: 250 seconds]
Hyuk has joined #ruby
sulky has quit [Ping timeout: 244 seconds]
toretore has joined #ruby
hahuang61 has joined #ruby
jenrzzz has joined #ruby
dr0lan has joined #ruby
anisha__ has joined #ruby
Silthias has joined #ruby
anisha_ has quit [Ping timeout: 244 seconds]
Silthias1 has quit [Ping timeout: 250 seconds]
stuartrexking has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
hahuang61 has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
kedare has joined #ruby
A_Drone has quit [Read error: Connection reset by peer]
iMadper`` has quit [Remote host closed the connection]
fnux has joined #ruby
Miron has joined #ruby
depesz has joined #ruby
sulky_ has joined #ruby
da3mon has joined #ruby
etehtsea has joined #ruby
demian has quit [Ping timeout: 244 seconds]
mim1k has joined #ruby
LoneHerm_ has joined #ruby
marr has joined #ruby
A_Drone has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
stuartrexking has quit [Ping timeout: 258 seconds]
zacstewart has joined #ruby
Miron has quit [Ping timeout: 264 seconds]
sulky_ has quit [Remote host closed the connection]
dminuoso has joined #ruby
mim1k has quit [Ping timeout: 276 seconds]
zacstewart has quit [Ping timeout: 258 seconds]
ericsupreme has joined #ruby
dminuoso has quit [Ping timeout: 258 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 276 seconds]
da3mon has quit [Quit: Zzzz...]
koma has joined #ruby
bluOxigen has quit [Ping timeout: 258 seconds]
bluOxigen has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
TTilus has quit [Ping timeout: 258 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
dunpeal has joined #ruby
da3mon has joined #ruby
Miron has joined #ruby
dunpeal has quit [Ping timeout: 240 seconds]
sulky_ has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
AndrewIsHere has joined #ruby
musl has quit [Ping timeout: 276 seconds]
sameerynho has joined #ruby
macsteps has joined #ruby
AndrewIsHere has quit [Ping timeout: 252 seconds]
lxsameer has quit [Ping timeout: 258 seconds]
devec0 has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Remote host closed the connection]
macsteps has quit [Ping timeout: 258 seconds]
hahuang61 has joined #ruby
musl has joined #ruby
glcx_ has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
etehtsea has joined #ruby
Torrone has quit [Quit: This computer has gone to sleep]
joonty has quit [Quit: This computer has gone to sleep]
dionysus69 has joined #ruby
ericsupreme has quit [Ping timeout: 265 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
etehtsea has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
joonty has joined #ruby
Derperperd has quit [Quit: Derperperd]
karapetyan has quit [Remote host closed the connection]
bjh13 has quit [Remote host closed the connection]
karapetyan has joined #ruby
A_Drone has quit [Ping timeout: 250 seconds]
blackgoat has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
statelesscode has quit [Read error: Connection reset by peer]
eGGshke has joined #ruby
etehtsea has joined #ruby
Alina-malina has quit [Ping timeout: 252 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
etehtsea has quit [Client Quit]
LoneHermit has joined #ruby
statelesscode has joined #ruby
karapety_ has joined #ruby
nickjj_ is now known as nickjj
A_Drone has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
Alina-malina has joined #ruby
LoneHermit has quit [Ping timeout: 258 seconds]
rodfersou has joined #ruby
GodFather has joined #ruby
pandaant has joined #ruby
Pupp3tm4st3r has quit [Remote host closed the connection]
dminuoso has joined #ruby
karapety_ has quit [Ping timeout: 265 seconds]
abhinav has quit [Read error: Connection reset by peer]
gizmore has joined #ruby
abhinav has joined #ruby
blackmesa has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
Pupp3tm4st3r has joined #ruby
[narcan] has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
karapetyan has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
BDuarte has joined #ruby
[narcan] has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
nofxx has quit [Ping timeout: 265 seconds]
mim1k has joined #ruby
astrobun_ has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
chipotle has joined #ruby
mark[oz] has joined #ruby
Davedev28 has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
anisha__ has quit [Quit: This computer has gone to sleep]
anisha__ has joined #ruby
Neobenedict has quit [Ping timeout: 250 seconds]
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
da3mon has quit [Quit: Zzzz...]
VictoriaGo has joined #ruby
JeanCarloMachado has joined #ruby
xaviergmail has quit [Read error: Connection reset by peer]
<VictoriaGo> i want to learn ruby. but i don’t know where i start?
<adaedra> ?links
<adaedra> Here you go, resources for learning, you should find something here
JUgelen has joined #ruby
JeanCarloMachado has quit [Ping timeout: 276 seconds]
JeanCarloMachado has joined #ruby
<VictoriaGo> thanks adaedra
hanmac has joined #ruby
jjtoy has quit [Ping timeout: 260 seconds]
hahuang61 has joined #ruby
araujo__ has quit [Quit: Leaving]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
Nahra has quit [Read error: Connection reset by peer]
Nahra` has joined #ruby
GinoMan2440 has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
GinoMan2440 has joined #ruby
jgt2 has quit [Ping timeout: 265 seconds]
sdothum has joined #ruby
Ropeney has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
whiteline has quit [Read error: Connection reset by peer]
alxgsv has joined #ruby
stamina has joined #ruby
ebbflowgo has joined #ruby
pokalyis has joined #ruby
Pumukel has joined #ruby
karapetyan has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
etehtsea has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
loechel has joined #ruby
aupadhye has joined #ruby
loechel has quit [Read error: Connection reset by peer]
loechel has joined #ruby
loechel has quit [Remote host closed the connection]
loechel has joined #ruby
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 258 seconds]
Pumukel_ has quit [Read error: Connection reset by peer]
lxsameer_ has joined #ruby
Torrone has joined #ruby
Pumukel has joined #ruby
mark[oz] has quit [Remote host closed the connection]
plugine has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
minimalism has quit [Quit: minimalism]
johnmilton has joined #ruby
sameerynho has quit [Ping timeout: 244 seconds]
ebbflowgo has quit [Read error: Connection reset by peer]
loechel has quit [Ping timeout: 258 seconds]
fmcgeough has joined #ruby
Pumukel has joined #ruby
karapetyan has quit [Remote host closed the connection]
jishankai has quit [Ping timeout: 244 seconds]
LoneHermit has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
anisha__ has quit [Quit: This computer has gone to sleep]
Pumukel has joined #ruby
nadir has joined #ruby
jgt2 has joined #ruby
GinoMan2440 has quit [Ping timeout: 250 seconds]
kedare has quit [Quit: Leaving]
loechel has joined #ruby
Pumukel_ has joined #ruby
Pumukel_ has quit [Remote host closed the connection]
Ropeney has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
whiteline has joined #ruby
Pumukel_ has joined #ruby
anisha__ has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
zacstewart has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
Pumukel_ has quit [Read error: Connection reset by peer]
dminuoso has joined #ruby
loechel has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
crissae_ has joined #ruby
synthroid has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
whiteline has quit [Client Quit]
whiteline has joined #ruby
Pumukel has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
Pumukel has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
zacstewart has quit [Ping timeout: 265 seconds]
Pumukel has quit [Read error: Connection reset by peer]
plugine has quit []
crissae has quit [Ping timeout: 265 seconds]
glcx_ has joined #ruby
loechel has joined #ruby
dminuoso has quit [Ping timeout: 250 seconds]
loechel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
synthroi_ has joined #ruby
da3mon has joined #ruby
JUgelen has quit [Read error: Connection reset by peer]
Snowy has quit [Remote host closed the connection]
synthroid has quit [Ping timeout: 244 seconds]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 250 seconds]
bqscott has joined #ruby
alfiemax has quit [Ping timeout: 276 seconds]
Vingador has joined #ruby
icey has quit [Remote host closed the connection]
icey has joined #ruby
dunpeal has joined #ruby
tyang has joined #ruby
etehtsea has joined #ruby
matp has quit [Remote host closed the connection]
gnufied has joined #ruby
ldnunes has joined #ruby
jzigmund has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BDuarte has quit [Ping timeout: 265 seconds]
AndrewIsHere has joined #ruby
[narcan] has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
rkazak has joined #ruby
AndrewIsHere has quit [Ping timeout: 244 seconds]
mim1k has joined #ruby
TheWhip has joined #ruby
sai_ has joined #ruby
dunpeal has quit [Ping timeout: 252 seconds]
tyang has quit [Quit: Leaving]
macsteps has joined #ruby
Snowy has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
hahuang61 has joined #ruby
M-mistake has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
TheGillies has quit [Remote host closed the connection]
M-manveru has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
hutch34 has joined #ruby
gnufied__ has joined #ruby
tyang has joined #ruby
Neobenedict has quit [Ping timeout: 252 seconds]
gnufied__ has quit [Client Quit]
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
M-shine has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
BDuarte has joined #ruby
macsteps has quit [Remote host closed the connection]
sai_ is now known as Bsoom_23
Cohedrin has joined #ruby
TheGillies has joined #ruby
swills has quit [Quit: Leaving]
[narcan] has joined #ruby
Cohedrin has quit [Client Quit]
Cohedrin has joined #ruby
terlar has quit [Quit: WeeChat 1.5]
nettoweb has quit [Ping timeout: 258 seconds]
MrBusiness has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 276 seconds]
Davedev28 has quit [Ping timeout: 250 seconds]
MrBusiness has joined #ruby
Cohedrin has quit [Ping timeout: 250 seconds]
ramortegui has joined #ruby
binaryplease1 has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
omphe has joined #ruby
tvw has joined #ruby
the_rhizo2 has joined #ruby
LoneHerm_ has joined #ruby
binaryplease has quit [Ping timeout: 264 seconds]
phoo1234567 has joined #ruby
nando293921 has joined #ruby
LoneHerm_ has quit [Ping timeout: 264 seconds]
zacstewart has joined #ruby
dminuoso has joined #ruby
mim1k has quit [Ping timeout: 258 seconds]
timmow has quit [Quit: ZNC - http://znc.in]
binaryplease1 is now known as binaryplease
malconis has joined #ruby
blingrang has quit [Changing host]
blingrang has joined #ruby
blackmesa has joined #ruby
malconis has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 276 seconds]
malconis has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
blackgoat has quit [Ping timeout: 276 seconds]
matp has joined #ruby
dreamyspell_ has joined #ruby
LiohAu has joined #ruby
<LiohAu> hi guys, anybody can tell me what is the equivalent syntax of this "SOME_ENV_VAR=SOME_VALUE my_ruby_executable" on windows ?
blackmesa has quit [Ping timeout: 240 seconds]
dreamyspell has quit [Ping timeout: 240 seconds]
<LiohAu> I guess this is considered as an env var on linux systems
<canton7> `set SOME_ENV_VAR=SOME_VALUE` on its own, then run your ruby executable
<LiohAu> I tried "set SOME_ENV_VAR=value" before launching the ruby executable, but that did not work
<VictoriaGo> Proto Local Address Foreign Address State
<VictoriaGo> TCP 0.0.0.0:445 0.0.0.0:0 LISTENING <——Foreign Address as 0.0.0.0 means sharing some folders
<LiohAu> canton7: no :(
<canton7> it should do
<canton7> `echo %SOME_ENV_VAR%` after setting it?
<adaedra> VictoriaGo: And what is your question?
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
tvon has quit [Quit: System is sleeping...]
dinfuehr has joined #ruby
AzureStigma has joined #ruby
<VictoriaGo> oh
<VictoriaGo> wrong channel
<VictoriaGo> :(
SilverKey has quit [Quit: Halted.]
<LiohAu> canton7: "%SOME_ENV_VAR" as output :(
terlar has joined #ruby
<canton7> did you forget the second %?
<adaedra> LiohAu: there's two %
mim1k has joined #ruby
<LiohAu> %SOME_ENV_VAR% yes sorry
<adaedra> Is it cmd.exe or PowerShell?
GinoMan2440 has joined #ruby
<canton7> if it's cmd, please pastebin a transcription of exactly what you typed, and exactly what the output was, when trying to set and then read an env var
ChiefAlexander has joined #ruby
<LiohAu> canton7: is PS
<LiohAu> its*
kedare has joined #ruby
<canton7> ah, you never said that :P
<LiohAu> sorry
<LiohAu> I never use PS :(
alfiemax has joined #ruby
<adaedra> So why are you using PS now?
craigp_ has quit [Ping timeout: 244 seconds]
<LiohAu> actually i'm not doing the things
<LiohAu> i'm helping someone remotely ^^
r_rios has joined #ruby
<LiohAu> which is sharing its screen :d
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
jhack has quit [Quit: jhack]
bluOxigen has quit [Ping timeout: 265 seconds]
bluOxigen has joined #ruby
zacstewart has joined #ruby
Davedev28 has joined #ruby
TheWhip has quit [Remote host closed the connection]
SilverKey has joined #ruby
AzureStigma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
andikr has quit [Remote host closed the connection]
lxsameer_ has quit [Quit: WeeChat 1.5]
flashpoint9 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
craigp_ has joined #ruby
uri_ has joined #ruby
Torrone has quit [Quit: This computer has gone to sleep]
yardenbar has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Ping timeout: 244 seconds]
byteflame has joined #ruby
kavanagh has joined #ruby
SilverKey has quit [Quit: Halted.]
troulouliou_div2 has joined #ruby
irc_BT has joined #ruby
airdisa has joined #ruby
irc_BT is now known as rubynewbie
<rubynewbie> can anyone help with this ruby code?
<rubynewbie> for this website
hahuang61 has joined #ruby
theRoUS has joined #ruby
<rubynewbie> I'm looking to get help on how to scrape the price, title and title url from this website
<adaedra> Did you look if there's an API that would make your job easier?
<rubynewbie> new to ruby
<rubynewbie> is there api for ebay?
<adaedra> well that's not proper to Ruby
aganov has quit [Remote host closed the connection]
jenrzzz has joined #ruby
<adaedra> before going the scraping method, you look if there's an API
<mikecmpbll> scraping is frustrating, APIs less so.
<rubynewbie> ok
theRoUS has quit [Changing host]
theRoUS has joined #ruby
OTORelic2 has joined #ruby
tvon has joined #ruby
<rubynewbie> there is so many api categories...any idea on whch one to target
hahuang61 has quit [Ping timeout: 250 seconds]
macsteps has joined #ruby
flying has quit []
jenrzzz has quit [Ping timeout: 240 seconds]
Torrone has joined #ruby
rubynewbie has quit [Quit: Man who run behind car get exhausted]
terlar has quit [Ping timeout: 258 seconds]
failshell has joined #ruby
ChiefAlexander has joined #ruby
aegis3121 has joined #ruby
m1st3rwr0ng has joined #ruby
blackmesa has joined #ruby
etehtsea has joined #ruby
BDuarte has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 240 seconds]
jrafanie has joined #ruby
rgiscard has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Spami has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
JakFrist has joined #ruby
banisterfiend has joined #ruby
dunpeal has joined #ruby
etehtsea has quit [Ping timeout: 250 seconds]
kavanagh has quit [Ping timeout: 258 seconds]
macsteps has quit [Remote host closed the connection]
nankyokusei has joined #ruby
rgiscard has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
dminuoso has joined #ruby
etehtsea has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
abhinav has quit [Quit: leaving]
TheWhip has quit [Ping timeout: 260 seconds]
rileyy has quit [Ping timeout: 265 seconds]
dminuoso has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
loechel has joined #ruby
loechel has quit [Read error: Connection reset by peer]
tyang has quit [Ping timeout: 276 seconds]
loechel has joined #ruby
Ishido has quit [Ping timeout: 264 seconds]
loechel has quit [Remote host closed the connection]
loechel has joined #ruby
loechel has quit [Remote host closed the connection]
loechel has joined #ruby
Pumukel has quit [Ping timeout: 258 seconds]
axl_ has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
mrmortondk has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
etehtsea has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
tyang has joined #ruby
Davedev28 has quit [Remote host closed the connection]
Pumukel has joined #ruby
submitnine has quit []
Pumukel has quit [Remote host closed the connection]
loechel has quit [Ping timeout: 258 seconds]
SilverKey has joined #ruby
Pumukel has joined #ruby
loechel has joined #ruby
swills has joined #ruby
etehtsea has joined #ruby
loechel has quit [Read error: Connection reset by peer]
loechel has joined #ruby
pawnbox has quit [Remote host closed the connection]
troulouliou_div2 has joined #ruby
pawnbox has joined #ruby
loechel has quit [Read error: Connection reset by peer]
loechel has joined #ruby
loechel has quit [Read error: Connection reset by peer]
ChiefAlexander has quit [Remote host closed the connection]
loechel has joined #ruby
irc_BT has joined #ruby
irc_BT has quit [Client Quit]
GodFather has quit [Ping timeout: 258 seconds]
loechel has quit [Remote host closed the connection]
teclator has quit [Ping timeout: 264 seconds]
Pumukel has quit [Read error: Connection reset by peer]
chipotle has quit [Quit: cheerio]
Pumukel has joined #ruby
loechel has joined #ruby
Pumukel_ has joined #ruby
teclator has joined #ruby
etetz has joined #ruby
Pumukel_ has quit [Read error: Connection reset by peer]
Pumukel_ has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
M-mistake has joined #ruby
M-manveru has joined #ruby
teclator has quit [Client Quit]
Pumukel__ has joined #ruby
teclator has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
uri_ has quit [Quit: --]
spudowiar has joined #ruby
loechel has quit [Ping timeout: 258 seconds]
deniskozlov has quit [Ping timeout: 252 seconds]
loechel has joined #ruby
uri has joined #ruby
tyang has quit [Ping timeout: 265 seconds]
l4v2 has joined #ruby
Pumukel_ has quit [Ping timeout: 258 seconds]
crankhar1er has joined #ruby
loechel has quit [Read error: Connection reset by peer]
LoneHermit has joined #ruby
Pumukel__ has quit [Ping timeout: 250 seconds]
loechel has joined #ruby
p0p0pr37_ has joined #ruby
Pumukel has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
hahuang61 has joined #ruby
p0p0pr37 has quit [Ping timeout: 265 seconds]
p0p0pr37_ is now known as p0p0pr37
<apeiros> if you ever thought ruby was slow - try TSQL (transact-sql, mssql' proglang). that thing is horrible.
<apeiros> (it might also just be the db which is horribly slow - what do I know)
jenrzzz has joined #ruby
ChiefAlexander has joined #ruby
sepp2k has joined #ruby
loechel has quit [Ping timeout: 258 seconds]
TheWhip has joined #ruby
davedev24 has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
agent_white has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has quit [Ping timeout: 258 seconds]
pawnbox has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
DaniG2k has joined #ruby
tyang has joined #ruby
<DaniG2k> hello all
phredus has joined #ruby
<DaniG2k> I'm trying to understand and implement the knapsack algorithm but am kind of struggling
<DaniG2k> can someone help out plz
* mikecmpbll casts his mind back to university.
ledestin has joined #ruby
anisha__ has quit [Quit: This computer has gone to sleep]
<DaniG2k> I'm trying to write it from the algo provided on Wikipedia https://en.wikipedia.org/wiki/Knapsack_problem
ta_ has quit [Remote host closed the connection]
<DaniG2k> they define m as for j from 0 to W do: m[0, j] := 0
<DaniG2k> is that supposed to be a matrix? How would I represent that in Ruby? Array.new(W, Array.new(items.size, 0))
<agent_white> Mornin' folks
<mikecmpbll> which version, bounded or unbounded?
yardenbar has joined #ruby
speakingcode has joined #ruby
<mikecmpbll> oh, or the other one
Guest25838 is now known as saneax_AFK
GodFather has quit [Ping timeout: 258 seconds]
<DaniG2k> mikecmpbll: not the fractional one (i.e. you either take a whole object or not)
<DaniG2k> I think I get it on paper
<DaniG2k> but I am kind of struggling to put this into code
Neobenedict has quit [Ping timeout: 264 seconds]
failshell has quit []
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
<mikecmpbll> the 0-1 one, then
<DaniG2k> mikecmpbll: I believe so, yes
<DaniG2k> mikecmpbll: I don't need the code I just want to understand a few things
<DaniG2k> like that first step
last_staff has quit [Quit: last_staff]
<DaniG2k> for j from 0 to W do: m[0, j] := 0
<DaniG2k> do I construct a nested array?
dionysus69 has joined #ruby
<DaniG2k> i.e. a matrix where all values are 0?
ferr has joined #ruby
<DaniG2k> I'm really struggling to visualize the algo
<DaniG2k> although I think I could do it on paper :/
<mikecmpbll> so you have all the values and weights in arrays so the indexes align
<mikecmpbll> the value for item i is in v[i] and it's weight is in w[i]
cdg_ has joined #ruby
<DaniG2k> so they're two separate arrays
<DaniG2k> not a matrix?
<mikecmpbll> different arrays.
<DaniG2k> ok
<mikecmpbll> in that pseudocode implementation, doesn't mean that's how you gotta do it.
chipotle has joined #ruby
Torrone has quit [Quit: This computer has gone to sleep]
<mikecmpbll> tbh i'm not sure i get it either. the loops from 0 to W confuse me.
<DaniG2k> I think W is the max capacity
<mikecmpbll> yeah, but what're the steps between 0 and W?
<DaniG2k> so the knapsack can only store a max of 10
<mikecmpbll> and surely the step size affects the algorithm.
<DaniG2k> I think that just initializes an array like [0, 0, 0, 0]
<DaniG2k> or something
<DaniG2k> its really not clear
cdg has quit [Ping timeout: 244 seconds]
TheWhip has quit []
<DaniG2k> I've seen several implementations of this and it's really quite confusing
<DaniG2k> everyone does it differently
etehtsea has quit [Ping timeout: 276 seconds]
cdg_ has quit [Ping timeout: 250 seconds]
dionysus69 has quit [Remote host closed the connection]
MrBusiness has quit [Ping timeout: 250 seconds]
whathappens has joined #ruby
dennisvennink has joined #ruby
rileyy has joined #ruby
Pupp3tm4_ has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
Pupp3tm4st3r has quit [Ping timeout: 258 seconds]
zacts has quit [Ping timeout: 250 seconds]
polishdub has joined #ruby
dminuoso has joined #ruby
DaniG2k has quit [Quit: leaving]
GodFather has joined #ruby
govg has quit [Ping timeout: 252 seconds]
yardenbar has quit [Ping timeout: 240 seconds]
aupadhye has quit [Ping timeout: 265 seconds]
mark_66 has quit [Quit: Leaving.]
dminuoso has quit [Ping timeout: 265 seconds]
minotep has joined #ruby
dreamyspell has joined #ruby
[narcan] has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
lxsameer has joined #ruby
rgiscard has joined #ruby
dreamyspell_ has quit [Ping timeout: 240 seconds]
rgiscard_ has joined #ruby
Pupp3tm4_ has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 276 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgiscard has quit [Ping timeout: 250 seconds]
Hask5577 has joined #ruby
Torrone has joined #ruby
kavanagh has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
GodFather has quit [Quit: Ex-Chat]
synthroi_ has quit [Remote host closed the connection]
GodFather has joined #ruby
minotep has quit [Ping timeout: 244 seconds]
LoneHermit has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
zacts has joined #ruby
mim1k has quit [Ping timeout: 250 seconds]
whathappens has quit [Ping timeout: 250 seconds]
ruby-lang996 has joined #ruby
ruby-lang996 has quit [Client Quit]
fnux has left #ruby ["Leaving"]
luong has joined #ruby
Hask5577 has quit [Quit: Textual IRC Client: www.textualapp.com]
fnux has joined #ruby
livcd has quit [Ping timeout: 264 seconds]
whathappens has joined #ruby
soLucien has joined #ruby
daxroc has joined #ruby
<soLucien> hi guys ! Is there some function in ruby that can "grep" a multi-dimensional unknown length hash for a string (which can be contained in either a key or a value)
<soLucien> i have used awesome_print to display these arrays, but is there something that can search through them?
<soLucien> it's not very useful if the hash has 200 keys, and each of these values are unknown-length hashes
s2013 has joined #ruby
<soLucien> of course i can write the result of awesome_print to a file and then use ctrl-f to search , but isn't there something in ruby that could do this ?
<soLucien> *cricketsw*
TomyLobo has joined #ruby
<jhass> .scan?
<jhass> on the .to_s
mim1k has joined #ruby
smathy has joined #ruby
<zacts> hi rubyists
hahuang61 has joined #ruby
synthroid has joined #ruby
karapetyan has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blaxter has joined #ruby
alfiemax has joined #ruby
Bsoom_23 has quit [Remote host closed the connection]
Neobenedict has quit [Ping timeout: 244 seconds]
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 250 seconds]
GodFather has quit [Ping timeout: 258 seconds]
der-landgraf has quit [Ping timeout: 276 seconds]
poguez_ has joined #ruby
govg has joined #ruby
aryaching has joined #ruby
GodFather has joined #ruby
karapetyan has quit [Remote host closed the connection]
crankhar1er has quit [Ping timeout: 240 seconds]
m1st3rwr0ng has quit [Quit: Textual IRC Client: www.textualapp.com]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
tyang has quit [Ping timeout: 260 seconds]
alfiemax has quit [Ping timeout: 276 seconds]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
luong has quit [Read error: Connection reset by peer]
yardenbar has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
rodfersou is now known as rodfersou|lunch
dunpeal has quit [Ping timeout: 276 seconds]
kedare has quit [Quit: Leaving]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
jenrzzz has quit [Ping timeout: 244 seconds]
yardenbar has quit [Ping timeout: 244 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
The_Phoenix has joined #ruby
pokalyis has joined #ruby
Nahra` has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
mrgrieves has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
Rickmasta has joined #ruby
Nahra has joined #ruby
rileyy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
dminuoso has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
eatingthenight has quit [Quit: Lost terminal]
phantummm has joined #ruby
amclain has joined #ruby
cyphase has quit [Ping timeout: 244 seconds]
edwinvdgraaf has quit []
glcx_ has quit [Quit: Quitte]
GodFather has quit [Ping timeout: 258 seconds]
kavanagh has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 250 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
weaksauce has joined #ruby
kavanagh has joined #ruby
cyphase has joined #ruby
dionysus69 has joined #ruby
Es0teric has joined #ruby
craigp_ has quit [Ping timeout: 264 seconds]
r_rios has quit [Ping timeout: 276 seconds]
uri has quit [Quit: --]
ferr has quit [Quit: WeeChat 1.5]
A_Drone has joined #ruby
govg has quit [Ping timeout: 252 seconds]
karapetyan has joined #ruby
govg has joined #ruby
toastercup has joined #ruby
jenrzzz has joined #ruby
<toastercup> Hey folks! I was wondering if there was better terminology for the class methods that are accessed outside of the scope of a method, and are invoked at the Class-level. i.e. in an ActiveModel, right after the class definition, you might see a 'has_many' invocation.
phantummm has quit [Quit: WeeChat 1.5]
karapetyan has quit [Remote host closed the connection]
<toastercup> is there anything more precise I can refer to this style of invocation than just 'it's a class method'?
A_Drone has quit [Ping timeout: 244 seconds]
jgt2 has quit [Ping timeout: 276 seconds]
<jhass> technically it's a classes singleton method but I guess that doesn't help
<jhass> class method is pretty good as a colloquial term IMO
helpplease has joined #ruby
karapetyan has joined #ruby
<helpplease> can anyone explain to me why this is happening?
<helpplease> /var/lib/gems/2.3.0/gems/bundler-1.12.5/exe/bundler -v ⏎ master Bundler version 1.11.2
rgiscard_ has quit [Ping timeout: 244 seconds]
<jhass> helpplease: s/-v/exec ruby -v/ please
LoneHerm_ has joined #ruby
djbkd has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
AzureStigma has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
craigp_ has joined #ruby
AndrewIsHere has joined #ruby
jaequery has joined #ruby
<helpplease> jhass: apologies, you mean this? `/var/lib/gems/2.3.0/gems/bundler-1.12.5/exe/bundler exec ruby -v` ?
sepp2k1 has joined #ruby
davidw has joined #ruby
<jhass> yes :)
karapetyan has quit [Ping timeout: 276 seconds]
<helpplease> Could not locate Gemfile or .bundle/ directory
<jhass> ah, can you create an empty dummy?
sepp2k has quit [Ping timeout: 244 seconds]
<jhass> or move somewhere where there is one
<helpplease> ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
LoneHerm_ has quit [Ping timeout: 250 seconds]
Snowy has quit [Remote host closed the connection]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIs_ has joined #ruby
smathy has joined #ruby
AzureStigma is now known as AzureStigma|Away
whathappens has quit [Remote host closed the connection]
<jhass> mh
AzureStigma|Away is now known as AzureStigma
<jhass> can you gist your gem env output please? also gem list bundler and gem which bundler
whathappens has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
antgel has quit [Ping timeout: 250 seconds]
mikecmpbll has quit [Ping timeout: 276 seconds]
eljimmy has joined #ruby
symm- has joined #ruby
karapetyan has joined #ruby
dunpeal has joined #ruby
kavanagh has quit [Ping timeout: 240 seconds]
whathappens has quit [Ping timeout: 250 seconds]
govg has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
<jhass> helpplease: looks like some mess Debian made. The packaged version seems to take precedence in requires. I would recommend to remove the apt package
cyphase has joined #ruby
govg has joined #ruby
<helpplease> jhass, ahh yeah dang apt version. removed and trying now
The_Phoenix has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Ping timeout: 244 seconds]
blaxter has quit [Quit: foo]
VictoriaGo has left #ruby [#ruby]
tyang has joined #ruby
flashpoint9 has joined #ruby
skade has joined #ruby
karapetyan has quit [Remote host closed the connection]
tomphp_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elaptics has joined #ruby
skade has quit [Ping timeout: 276 seconds]
<helpplease> jhass: TY! I removed ruby and associated apt packages and reinstalled from source. Got what I was trying to do working now. You got a btc address I can send a tip to?
Rickmasta has joined #ruby
<jhass> not necessary, thanks
karapetyan has joined #ruby
pmyjavec has joined #ruby
Guest4184_______ has quit [Ping timeout: 244 seconds]
<helpplease> jhass: well thank you very much. Ive been at this since yesterday. I can get back to work now, job will be happy :)
cdg has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Guest4184_______ has joined #ruby
rgiscard has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
phantummm has joined #ruby
macsteps has joined #ruby
conta has quit [Ping timeout: 244 seconds]
skade has joined #ruby
aryaching has joined #ruby
qguv has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
anisha has joined #ruby
toastercup has quit [Quit: leaving]
quiller has joined #ruby
daemonwrangler has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 258 seconds]
daemonwrangler has joined #ruby
zacts has quit [Ping timeout: 258 seconds]
karapetyan has quit [Remote host closed the connection]
govg has joined #ruby
karapetyan has joined #ruby
rgiscard has quit [Ping timeout: 250 seconds]
rgiscard has joined #ruby
skade has quit [Ping timeout: 244 seconds]
jrafanie_ has joined #ruby
whathappens has joined #ruby
chipotle has quit [Quit: cheerio]
kjellpropell has joined #ruby
Ishido has joined #ruby
jrafanie has quit [Ping timeout: 258 seconds]
skade has joined #ruby
aryaching has quit [Ping timeout: 276 seconds]
helpplease has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
dr0lan has quit [Quit: WeeChat 1.0.1]
[Butch] has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nitric has joined #ruby
tomphp has joined #ruby
ItSANgo has quit [Quit: Leaving...]
deniskozlov has joined #ruby
dminuoso has joined #ruby
ta_ has joined #ruby
skade has quit [Ping timeout: 244 seconds]
mozzarella has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
aegis3121 has joined #ruby
indistylo has quit [Remote host closed the connection]
hogetaro has quit [Quit: Leaving...]
rcvalle has joined #ruby
JeanCarloMachado has quit [Ping timeout: 244 seconds]
firstdayonthejob has joined #ruby
govg has quit [Ping timeout: 252 seconds]
AzureStigma is now known as AzureStigma|Away
dminuoso has quit [Ping timeout: 240 seconds]
AzureStigma|Away is now known as AzureStigma
AzureStigma is now known as AzureStigma|Away
AzureStigma|Away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
govg has joined #ruby
TPug has joined #ruby
raldu has joined #ruby
terlar has joined #ruby
LiohAu has quit [Quit: LiohAu]
skade has joined #ruby
ponga has quit []
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ChiefAlexander has quit [Remote host closed the connection]
diegoviola has joined #ruby
rgiscard has quit [Quit: Reconnecting]
teclator has quit [Remote host closed the connection]
rgiscard has joined #ruby
mozzarella has joined #ruby
memorasus has joined #ruby
govg has quit [Ping timeout: 240 seconds]
AzureStigma has joined #ruby
kavanagh has joined #ruby
govg has joined #ruby
uri has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
bronson has joined #ruby
macsteps has quit [Remote host closed the connection]
skade has quit [Ping timeout: 258 seconds]
LoneHermit has joined #ruby
cyphase has quit [Ping timeout: 252 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx> BTC + Ruby \o/
pokalyis has joined #ruby
jaruga___ has quit [Quit: jaruga___]
pmyjavec has joined #ruby
karapetyan has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 265 seconds]
rodfersou|lunch is now known as rodfersou
karapetyan has joined #ruby
cyphase has joined #ruby
tomchapi_ has joined #ruby
<Papierkorb> Automatic money laundering. Nice.
SilverKey has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
pandaant has quit [Remote host closed the connection]
Cohedrin has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
last_staff has joined #ruby
blackmes1 has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
whathappens has quit [Read error: Connection reset by peer]
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
whathappens has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
spider-mario has joined #ruby
eGGshke has quit [Quit: Leaving...]
danman has joined #ruby
replay has joined #ruby
Velizar has quit [Quit: Velizar]
raldu has left #ruby [#ruby]
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
terlar has quit [Ping timeout: 244 seconds]
sarbs has quit [Read error: Connection reset by peer]
sarbs has joined #ruby
titre1 has joined #ruby
Velizar has joined #ruby
JmcC has joined #ruby
<JmcC> I have a basic rails question
<JmcC> so ive been developing a rails app with a cms
karapetyan has quit [Remote host closed the connection]
<JmcC> and ive been just using rails s
<JmcC> now im doing nginx with ruby
<JmcC> and its supposed to point to the public directory of the app
<JmcC> and theres nothing there
<JmcC> what am I doing wrong?
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AndrewIs_ is now known as AndrewIsHere
pokalyis has joined #ruby
titre1 has quit [Quit: Saliendo]
karapetyan has joined #ruby
Spami has joined #ruby
zacts has joined #ruby
playfullyExist has joined #ruby
andikr has joined #ruby
Dimik has joined #ruby
nankyokusei has joined #ruby
axl_ has quit [Quit: axl_]
ixti has joined #ruby
Madplatypus has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
whathappens has quit [Read error: Connection reset by peer]
<toretore> ?rails JmcC
<ruby[bot]> JmcC: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
whathappens has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
Torrone has quit [Quit: This computer has gone to sleep]
minotep has joined #ruby
dminuoso has joined #ruby
pokalyis has joined #ruby
flashpoint9 has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
kobain has joined #ruby
axl_ has joined #ruby
mikecmpbll has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
johnny56_ has joined #ruby
axl_ has quit [Client Quit]
ChiefAlexander has joined #ruby
axl_ has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
miqlas-H has joined #ruby
ico has joined #ruby
terlar has joined #ruby
bjh13 has joined #ruby
pmyjavec has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
the_rhizo2 has quit [Ping timeout: 276 seconds]
aufi has quit [Ping timeout: 240 seconds]
kavanagh has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
s2013 has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devec0 has joined #ruby
kavanagh has joined #ruby
solars has quit [Ping timeout: 265 seconds]
bocaneri has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
zacts_pi has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacts has quit [Ping timeout: 258 seconds]
GodFather has joined #ruby
pokalyis has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
LoneHerm_ has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
the_rhizo2 has joined #ruby
Neobenedict has quit [Ping timeout: 258 seconds]
whathappens has quit [Read error: Connection reset by peer]
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
whathappens has joined #ruby
kavanagh has quit [Ping timeout: 258 seconds]
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
jgt2 has joined #ruby
terlar has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
zeroDi has joined #ruby
solars has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kavanagh has joined #ruby
Rodya_ has joined #ruby
zacts_pi has quit [Read error: Connection reset by peer]
johnmilton has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 260 seconds]
jackjackdripper has joined #ruby
malconis has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
spudowiar has quit [Quit: I tried to dereference a null pointer... and I succeeded!]
pawnbox has quit [Remote host closed the connection]
Spami has quit [Quit: Leaving]
ramfjord has joined #ruby
DJTrey has joined #ruby
shinnya has quit [Ping timeout: 252 seconds]
theunraveler has joined #ruby
Nahra has quit [Ping timeout: 250 seconds]
crowell has quit [Quit: bye]
ico has quit [Remote host closed the connection]
ico has joined #ruby
crowell has joined #ruby
crowell has quit [Changing host]
crowell has joined #ruby
Nahra has joined #ruby
cjbrambo has quit [Quit: ZNC - http://znc.in]
marens_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
marens has joined #ruby
marens has quit [Changing host]
marens has joined #ruby
tvon has quit [Quit: System is sleeping...]
ico has quit [Ping timeout: 265 seconds]
Derperperd has joined #ruby
elifoster has joined #ruby
klautcomputing has joined #ruby
symm- has quit [Quit: Leaving...]
<klautcomputing> Hey everyone, does someone have a second to take a look at my gist (https://gist.github.com/klautcomputing/8b350ae0186d52fbc05b85519095d256) and answer the question why optionparser behaves in that way. Thank you!
symm- has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
SilverKey has quit [Quit: Halted.]
tables has joined #ruby
<tables> how do i run an .rb script?
<tables> i'm new to ruby
pokalyis has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
<klautcomputing> tables: ruby script_name.rb
Torrone has joined #ruby
crankhar1er has joined #ruby
dminuoso has joined #ruby
axisys has quit [Ping timeout: 264 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tables has quit [Read error: Connection reset by peer]
tables has joined #ruby
_kfpratt has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
deniskozlov has quit [Quit: Konversation terminated!]
Rodya_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
kfpratt has quit [Ping timeout: 258 seconds]
<tables> how do i do argument 1 for ruby?
<tables> i'm running ruby somescript.rb
<tables> i want argument 1
symm- has quit [Quit: Leaving...]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marxarelli has joined #ruby
<klautcomputing> tables: ARGV is what you want, it's an array or look into optionparser
dminuoso has quit [Ping timeout: 265 seconds]
ico has joined #ruby
<tables> how do i read argv1?
<apeiros> ARGV[0]
lxsameer has quit [Quit: WeeChat 1.5]
s2013 has joined #ruby
ramfjord has joined #ruby
plukevdh has joined #ruby
johnmilton has joined #ruby
Neobenedict has quit [Ping timeout: 240 seconds]
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
SilverKey has quit [Quit: Halted.]
Bsoom_23 has joined #ruby
Torrone has quit [Quit: This computer has gone to sleep]
bluOxigen has quit [Ping timeout: 250 seconds]
SilverKey has joined #ruby
bluOxigen has joined #ruby
ledestin has joined #ruby
blackmes1 has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
rileyy has joined #ruby
LiohAu has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
LoneHermit has joined #ruby
alfiemax has joined #ruby
djbkd has quit [Remote host closed the connection]
yardenbar has joined #ruby
djbkd has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
SilverKey has quit [Quit: Halted.]
whathappens has joined #ruby
tomphp has joined #ruby
ben__ has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
LoneHermit has quit [Ping timeout: 265 seconds]
blackmesa has joined #ruby
djbkd has quit [Ping timeout: 258 seconds]
crystal77 has joined #ruby
blackmes1 has quit [Ping timeout: 258 seconds]
zacts has joined #ruby
kavanagh has quit [Ping timeout: 264 seconds]
johnmilton has quit [Ping timeout: 244 seconds]
johnmilton has joined #ruby
axl_ has quit [Quit: axl_]
mtkd has quit [Ping timeout: 264 seconds]
ChiefAlexander has quit [Remote host closed the connection]
mtkd has joined #ruby
leea has joined #ruby
SilverKey has joined #ruby
SilverKey has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
dsea has joined #ruby
tables has quit [Read error: Connection reset by peer]
tables has joined #ruby
djbkd has joined #ruby
SilverKey has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvon has joined #ruby
ChiefAlexander has joined #ruby
Vingador has quit [Ping timeout: 252 seconds]
Xeago has quit [Ping timeout: 252 seconds]
r_rios has joined #ruby
blackgoat has joined #ruby
SilverKey has quit [Client Quit]
andikr has quit [Read error: Connection reset by peer]
gnufied has quit [Ping timeout: 250 seconds]
axl_ has joined #ruby
Xeago has joined #ruby
kavanagh has joined #ruby
tables has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
s2013 has joined #ruby
tables has joined #ruby
da3mon has quit [Quit: Zzzz...]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
yardenbar has quit [Ping timeout: 258 seconds]
djbkd has quit [Remote host closed the connection]
miqlas-H has joined #ruby
djbkd has joined #ruby
apneic has joined #ruby
crankhar1er has quit [Ping timeout: 258 seconds]
da3mon has joined #ruby
GodFather has quit [Ping timeout: 258 seconds]
eljimmy has joined #ruby
A124 has quit [Quit: '']
crankharder has quit [Ping timeout: 260 seconds]
djbkd has quit [Client Quit]
jschmid has joined #ruby
nankyokusei has joined #ruby
A124 has joined #ruby
symm- has joined #ruby
crankharder has joined #ruby
ruby-lang779 has joined #ruby
pawnbox has joined #ruby
<ruby-lang779> does anybody have experience with debugging daemon process with rubymine?
<ruby-lang779> or maybe best way to do it without rubymine
pawnbox has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
dminuoso has joined #ruby
jhack has joined #ruby
soulisson has joined #ruby
<soulisson> Hi, I would to add x seconds to a DateTime object how can I do?
pawnbox has quit [Ping timeout: 244 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dminuoso has quit [Ping timeout: 250 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
finisherr has joined #ruby
<havenwood> soulisson: + x/86400r
<soulisson> havenwood, thanks
<havenwood> soulisson: You could cherrypick from ActiveSupport for a pretty version.
<soulisson> havenwood, how can I import it in my script?
tables has quit [Read error: Connection reset by peer]
<soulisson> havenwood, x/86400r didn't work, "displays expects $end"
tables has joined #ruby
<jhass> ruby version?
<soulisson> jhass,1.9.3
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hightower4 has joined #ruby
pawnbox has joined #ruby
nofxx has joined #ruby
<jhass> god, why
<jhass> update
swills has quit [Ping timeout: 240 seconds]
<soulisson> jhass, I think this is the default version of my distribution :)
<jhass> then update it
<jhass> there's no distro which latest release has that anymore afair
<soulisson> ok
dionysus69 has quit [Quit: dionysus69]
cdg has quit [Remote host closed the connection]
vuoto has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
dionysus69 has joined #ruby
Rodya_ has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
cdg_ has joined #ruby
jschmid has quit [Ping timeout: 265 seconds]
kavanagh has quit [Ping timeout: 258 seconds]
reisei has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
mahlon has joined #ruby
the_rhizo2 has quit [Ping timeout: 240 seconds]
zacts has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
mrmortondk has quit [Quit: Textual IRC Client: www.textualapp.com]
AndrewIsHere has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
hahuang61 has joined #ruby
<reisei> hi, all! I have a question: how can I iterate an array until I found the special element, 'a'-letter for example? I need to count elements until this special element.
AndrewIsHere has joined #ruby
<eam> reisei: #each is pretty good for iterating
<jhass> if it isn't performance critical, .take_while { }.size
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
<reisei> jhass: thanks! I'll try that.
<eam> actually, if you want the location try #find_index
<eam> probably both cleanest and fastest
<reisei> eam: but how can I count symbols with #each?
<eam> >> %w{b c d a e f}.find_index("a")
hahuang61 has quit [Ping timeout: 250 seconds]
whathappens has quit [Read error: Connection reset by peer]
Kyhz has joined #ruby
eam has quit [Changing host]
eam has joined #ruby
<eam> >> %w{b c d a e f}.find_index("a")
<ruby[bot]> eam: # => 3 (https://eval.in/620694)
<eam> there we go
<eam> 3 elements before the "a"
whathappens has joined #ruby
<reisei> cool! )
<eam> more generally, you can always use #each and break() when you want to stop
Bsoom_23_ has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Ping timeout: 264 seconds]
uri has quit [Quit: --]
uri has joined #ruby
kavanagh has joined #ruby
hahuang61 has joined #ruby
synthroid has quit []
tables has quit [Read error: Connection reset by peer]
<reisei> eam: thanks a lot!
tables has joined #ruby
pawnbox has quit [Remote host closed the connection]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
aegis3121 has joined #ruby
quakephil has joined #ruby
<quakephil> http://pastebin.ca/3682635 how come I'm getting blanks when I try to reference the indexes? I think I'm missing something basic ruby voodoo...?
gnufied has joined #ruby
minimalism has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
jgt2 has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
postmodern has joined #ruby
tvon has quit [Quit: System is sleeping...]
<jhass> >> 'id' == :id # quakephil
<ruby[bot]> jhass: # => false (https://eval.in/620695)
<jhass> >> ['id'.class, :id.class]
<ruby[bot]> jhass: # => [String, Symbol] (https://eval.in/620696)
<jhass> different objects
<jhass> also I recommend p instead of puts for debug printing
Bsoom_23 has joined #ruby
Bsoom_23_ has quit [Ping timeout: 276 seconds]
kjellpropell has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ged has joined #ruby
djbkd has joined #ruby
tomphp has joined #ruby
Neobenedict has quit [Ping timeout: 264 seconds]
jrafanie_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Neobenedict has joined #ruby
jgt2 has joined #ruby
pmyjavec has joined #ruby
tables has quit [Read error: Connection reset by peer]
Makkiel has joined #ruby
rileyy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
klautcomputing has quit [Ping timeout: 244 seconds]
dminuoso has joined #ruby
apneic has quit [Remote host closed the connection]
Puffball has quit [Read error: Connection reset by peer]
ChiefAlexander has quit [Quit: Leaving...]
vuoto has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
<Makkiel> cri cri
ldnunes has quit [Quit: Leaving]
Puffball has joined #ruby
soulisson has quit [Ping timeout: 258 seconds]
malconis has joined #ruby
klautcomputing has joined #ruby
<soLucien> how can i create a getter only for a variable ?
cd-rum has joined #ruby
tables has joined #ruby
rodfersou has quit [Quit: leaving]
<soLucien> attr_accessor is both a getter and a setter
<soLucien> i would like to create a getter only .. is this level of encapsulation possible in ruby ?
playfullyExist has quit [Quit: irc]
dminuoso has quit [Ping timeout: 265 seconds]
karapetyan has joined #ruby
<Makkiel> attr_reader #getter
<Makkiel> attr_writer # setter
<Makkiel> so, if you want to create a getter only, you should use attr_reader :var
dionysus69 has quit [Ping timeout: 258 seconds]
uri has quit [Quit: --]
ItSANgo has joined #ruby
pawnbox has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
ico has quit []
<soLucien> cool, thanks Makkiel
cd-rum_ has joined #ruby
cd-rum has quit [Ping timeout: 250 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ddffg has quit [Quit: Leaving]
Rodya_ has quit [Remote host closed the connection]
gnufied has quit [Ping timeout: 250 seconds]
bronson has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
pawnbox has joined #ruby
tvon has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg_ has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
byteflame has quit [Ping timeout: 258 seconds]
tyang has quit [Ping timeout: 240 seconds]
der-landgraf has joined #ruby
ruskie has quit [Excess Flood]
ruskie has joined #ruby
ramortegui has quit [Remote host closed the connection]
Rodya_ has joined #ruby
cjbrambo has joined #ruby
LoneHermit has joined #ruby
finisherr has quit [Quit: finisherr]
ruid has joined #ruby
Rodya_ has quit [Remote host closed the connection]
leea has joined #ruby
der-landgraf has quit [Ping timeout: 240 seconds]
postmodern has quit [Ping timeout: 250 seconds]
vuoto has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 244 seconds]
Rodya_ has joined #ruby
Kyhz has quit [Ping timeout: 258 seconds]
der-landgraf has joined #ruby
GinoMan2440 has quit [Ping timeout: 250 seconds]
cd-rum has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bsoom_23_ has joined #ruby
shinnya has joined #ruby
Bsoom_23 has quit [Ping timeout: 244 seconds]
Neobenedict has quit [Ping timeout: 276 seconds]
dhollinger has joined #ruby
ur5us has joined #ruby
pokalyis has joined #ruby
cd-rum_ has quit [Ping timeout: 252 seconds]
LoneHerm_ has joined #ruby
jenrzzz has joined #ruby
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
pokalyis has quit [Max SendQ exceeded]
Makkiel has quit []
pokalyis has joined #ruby
JmcC has quit [Quit: WeeChat 1.5]
cdg has joined #ruby
mtkd has quit [Ping timeout: 244 seconds]
cdg has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
hutch34 has joined #ruby
Bsoom_23_ has quit [Remote host closed the connection]
mtkd has joined #ruby
Bsoom_23 has joined #ruby
postmodern has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Bsoom_23 has quit [Read error: Connection reset by peer]
sepp2k1 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
rgiscard has quit [Ping timeout: 244 seconds]
jenrzzz_ has joined #ruby
Bsoom_23 has joined #ruby
minotep has quit [Ping timeout: 252 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Neobenedict has quit [Ping timeout: 265 seconds]
Neobenedict has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
reisei has quit [Ping timeout: 250 seconds]
Bsoom_23 has joined #ruby
Bsoom_23_ has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
Bsoom_23_ has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
karapetyan has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
flashpoint9 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
arquebus has joined #ruby
Bsoom_23 has joined #ruby
teclator has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
Bsoom_23 has quit [Read error: Connection reset by peer]
marxarelli is now known as marxarelli|afk
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
GinoMan2440 has joined #ruby
OTORelic2 has quit [Ping timeout: 264 seconds]
cdg has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Bsoom_23 has joined #ruby
<arquebus> hello, Im trying to make an initialize method for a class that will act as a standalone object, Im trying to pass in a hash argument to the initialize method and I keep getting an error saying it cant convert a simbol to an integer. Im not even sure if its possible to make an initialize method for a standalone class object, here is part of the code: http://codepad.org/FuvD0le5
Bsoom_23 has quit [Read error: Connection reset by peer]
fmcgeough has quit [Quit: fmcgeough]
Rodya_ has joined #ruby
speakingcode has quit [Ping timeout: 240 seconds]
pokalyis has joined #ruby
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
LoneHerm_ has joined #ruby
Bsoom_23 has joined #ruby
Bsoom_23_ has joined #ruby
Bsoom_23_ has quit [Read error: Connection reset by peer]
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Yonk has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
sumobob has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Spami has joined #ruby
ruby-lang779 has quit [Ping timeout: 250 seconds]
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
plukevdh has quit [Quit: Textual IRC Client: www.textualapp.com]
arquebus has quit [Quit: Page closed]
Bsoom_23 has joined #ruby
rgiscard has joined #ruby
nankyokusei has joined #ruby
arquebus has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
<arquebus> hello, Im trying to make an initialize method for a class that will act as a standalone object, Im trying to pass in a hash argument to the initialize method and I keep getting an error saying it cant convert a simbol to an integer. Im not even sure if its possible to make an initialize method for a standalone class object, here is part of the code: http://codepad.org/FuvD0le5
soulisson has joined #ruby
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Es0teric has quit [Quit: Computer has gone to sleep.]
Bsoom_23 has quit [Read error: Connection reset by peer]
jgt2 has quit [Quit: WeeChat 1.4]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
jgt has joined #ruby
Bsoom_23 has joined #ruby
theunraveler has quit [Remote host closed the connection]
tables has quit [Ping timeout: 265 seconds]
arquebus has quit [Client Quit]
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
klautcomputing has quit [Ping timeout: 244 seconds]
Bsoom_23 has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 250 seconds]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
dminuoso has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
the_rhizo2 has joined #ruby
Bsoom_23 has joined #ruby
axl_ has quit [Quit: axl_]
Bsoom_23 has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Kyhz has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
dhollinger has quit [Quit: WeeChat 1.5]
Bsoom_23 has joined #ruby
flashpoint9 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
tables has joined #ruby
Bsoom_23 has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Bsoom_23 has quit [Read error: Connection reset by peer]
dminuoso has quit [Ping timeout: 250 seconds]
Bsoom_23 has joined #ruby
sulky_ has quit [Ping timeout: 276 seconds]
Bsoom_23 has quit [Read error: Connection reset by peer]
yfeldblum has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Dimik has quit []
yfeldblum has joined #ruby
skade has joined #ruby
sulky has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
DJTrey has quit [Ping timeout: 250 seconds]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
A_Drone has joined #ruby
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
Bsoom_23 has joined #ruby
Bsoom_23 has quit [Read error: Connection reset by peer]
<baweaver> !connection Bsoom_23
firstdayonthejob has quit [Ping timeout: 276 seconds]
apneic has joined #ruby
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crankhar1er has joined #ruby
spudowiar has joined #ruby
A_Drone has quit [Ping timeout: 244 seconds]
rkazak has joined #ruby
tyang has joined #ruby
AndrewIsHere has quit []
gix has quit [Ping timeout: 258 seconds]
ruid has quit [Ping timeout: 240 seconds]
stuartrexking has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
Torrone has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
polishdub has quit [Quit: Leaving]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
<Yonk> arquebus why not use a class instance variable as that stand alone object if it needs to be shared amongst multiple instanstiated objects of that class
hutch34 has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
<Yonk> @@ is class instance variables and @ are regular instance variables
<Yonk> @@ is available to all instances of that class and @ is available to only each instance of that class
davidw has quit [Ping timeout: 276 seconds]
blackgoat has quit [Ping timeout: 240 seconds]
sumobob has quit [Ping timeout: 250 seconds]
<Yonk> also in ruby everything is an object even a Hash
<ruby[bot]> Yonk: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/542a7ba508cab1379b26b0828b15ce7d
<ruby[bot]> Yonk: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
Vingador has joined #ruby
flashpoint9 has joined #ruby
etetz has quit [Remote host closed the connection]
etetz has joined #ruby
da3mon has quit [Quit: cya...]
theunraveler has joined #ruby
theunraveler has quit [Remote host closed the connection]
<Yonk> ruby[bot]: in a dynamically typed language you're passing by reference so you can throw anything at it as an argument. all it cares about is that you're giving it an argument when you're asking for one
etetz has quit [Ping timeout: 276 seconds]
<Yonk> using the singular splat operator means it will take in many arguments if I remember correctly. So whatever you name that argument will be treated as an array. and since everything is an object it will get put into the array. the arrays in ruby can hold many types of things.
stuartrexking has quit [Ping timeout: 240 seconds]
l4v2 has quit [Quit: l4v2]
stuartrexking has joined #ruby
axsuul has joined #ruby
gix has joined #ruby
p0p0pr37 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
stamina has quit [Ping timeout: 276 seconds]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
jhack has quit [Quit: jhack]
jhack has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
nickjj has quit [Read error: Connection reset by peer]
stuartre1king has joined #ruby
stuartrexking has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
<soulisson> Hi, I'm using udp socket how can I set a timeout for the recvfrom method?
nickjj has joined #ruby
rgiscard has quit [Ping timeout: 276 seconds]
tables has quit [Read error: Connection reset by peer]
<matthewd> soulisson: Use recvfrom_nonblock
l4v2 has joined #ruby
spider-mario has quit [Remote host closed the connection]
Vingador has quit [Remote host closed the connection]
<soulisson> matthewd, recvfrom_nonblock immediately returns, no?
<matthewd> Yes
<soulisson> matthewd, how do I know then if I received data?
<matthewd> If it returns, you received data; if it raises, you didn't.
ur5us has quit [Remote host closed the connection]
GodFather has joined #ruby
<soulisson> matthewd, but given network latency, if it returns immediately isn't data a problem?
nofxx has quit [Ping timeout: 276 seconds]
<soulisson> Does it mean I have to the wait manually with a sleep?
<matthewd> You keep reading (and waiting, with #select) until you have the data you want
<soulisson> matthewd, oh ok, thanks
solars has quit [Ping timeout: 252 seconds]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
blackgoat has joined #ruby
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
ereslibre has joined #ruby
saneax_AFK is now known as saneax
dminuoso has joined #ruby
saneax is now known as Guest7941
roflmyeggo has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
LoneHerm_ has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
kavanagh has quit [Quit: That's all folks!]
whathappens has quit [Ping timeout: 258 seconds]
A_Drone has joined #ruby
solars has joined #ruby
jhack has quit [Quit: jhack]
A_Drone has quit [Ping timeout: 265 seconds]
symm-_ has joined #ruby
symm- has quit [Ping timeout: 265 seconds]
memorasus has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Remote host closed the connection]
memorasus has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
axl__ has joined #ruby
leea_ has joined #ruby
psyq has joined #ruby
axl_ has quit [Ping timeout: 240 seconds]
axl__ is now known as axl_
psyq has quit [Changing host]
psyq has joined #ruby
leea has quit [Ping timeout: 244 seconds]
Torrone has quit [Quit: This computer has gone to sleep]
psyq has left #ruby [#ruby]
davidw has joined #ruby
soulisson has left #ruby ["Quitte"]
mikecmpbll has quit [Quit: inabit.]
SilverKey has quit [Quit: Halted.]
jud^ is now known as jud
<quakephil> jhass: so how would I reference in my case? doc[:id] ?
jud has quit [Changing host]
jud has joined #ruby
<jhass> yes
<pizzaops> Is there something like pop that doesn't modify the original array
<matthewd> pizzaops: last ?
the_rhizo2 has quit [Ping timeout: 260 seconds]
leea_ is now known as leea
<pizzaops> matthewd: sorry I should be more clear. Getting the last object is the easy part. I want something that removes the last element of an array and returns it
<pizzaops> returns a new array
<pizzaops> so basically foo = myarray.last; bar = myarray.remove_last_object, bar should be myarray less the foo value
<pizzaops> I can certainly implement something that does this i'm just curious im missing a builtin
Spami has quit [Quit: This computer has gone to sleep]
LoneHerm_ has quit [Ping timeout: 258 seconds]
Spami has joined #ruby
<matthewd> bar = myarray.dup.tap(&:pop) and *bar, _ = myarray are the options that come to mind
<matthewd> There's drop, but that's for the other end of the array (i.e., working with head:tail)
marxarelli|afk is now known as marxarelli
the_rhizo2 has joined #ruby
marxarelli is now known as marxarelli|afk
rkazak has quit [Quit: Sleep.....ing....]
swills has joined #ruby
aries_liuxueyang has quit [Ping timeout: 258 seconds]
cdg has quit [Remote host closed the connection]
blackgoat has quit [Ping timeout: 276 seconds]
flashpoint9 has joined #ruby
blackmesa has joined #ruby
MrBusiness has joined #ruby
last_staff has quit [Quit: last_staff]
jenrzzz_ has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby