<ruby[bot]>
Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
saslam has joined #ruby
JoshS has quit [Ping timeout: 256 seconds]
gigetoo has quit [Read error: Connection reset by peer]
enterprisey has joined #ruby
gigetoo has joined #ruby
Kiki_ has joined #ruby
Kiki_ has quit [Ping timeout: 260 seconds]
koldbrutality has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
tercenya has quit [Remote host closed the connection]
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
cpruitt has quit [Quit: cpruitt]
blackwind_123 has quit [Ping timeout: 258 seconds]
blackbom1 has quit [Ping timeout: 240 seconds]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
blackbom1 has joined #ruby
zacts has quit [Quit: WeeChat 1.7]
simmib has joined #ruby
simmib has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
pilne has quit [Quit: Quitting!]
zacts has joined #ruby
AndrewIsHere has quit [Ping timeout: 255 seconds]
syndikate_ has quit [Ping timeout: 240 seconds]
syndikate has joined #ruby
AndrewIsHere has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
mostlybadfly has joined #ruby
koldbrutality has quit [Remote host closed the connection]
tectonic has joined #ruby
bkxd has joined #ruby
tectonic has quit [Client Quit]
AndrewIsHere has quit [Ping timeout: 255 seconds]
jeyraof has quit [Quit: This computer has gone to sleep]
bkxd has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
ReK2 has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
KnownSyntax has joined #ruby
tlahtoani has quit [Quit: Connection closed for inactivity]
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
nankyokusei has joined #ruby
ResidentBiscuit has quit []
saslam has joined #ruby
hutch34 has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dopamean_ has quit [Ping timeout: 240 seconds]
dc4 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
wrkrcoop has joined #ruby
<wrkrcoop>
hi i have a file that consists of just an array, how can i require it in my other file?
<wrkrcoop>
im doing this require_relative('./nyse_symbols');
<wrkrcoop>
but when i p nyse_symbols says variable doesn’t exist
<wrkrcoop>
do i have to put it in a module?
<adam12>
wrkrcoop: Yes.
blackbom1 has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 258 seconds]
<wrkrcoop>
thanks adam
saslam has quit [Ping timeout: 255 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tolerablyjake has joined #ruby
__Yiota has joined #ruby
jdawgaz has joined #ruby
Devalo has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
astrobunny has quit []
__Yiota has quit [Client Quit]
Devalo has quit [Ping timeout: 264 seconds]
astrobunny has joined #ruby
jaegerca has joined #ruby
enterprisey has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jaegerca>
How is it that has_many(name, scope = nil, options = {}, &extension) doesn't assign options to scope when called like: has_many :alphas, class_name: "Alpha"
harai has quit [Ping timeout: 252 seconds]
arescorpio has quit [Quit: Leaving.]
kassav_ has quit [Read error: Connection reset by peer]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
patarr has joined #ruby
hutch34 has quit [Ping timeout: 256 seconds]
DroidBurgundy has quit []
simmib_ has joined #ruby
danielpclark has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
patarr has quit [Ping timeout: 248 seconds]
simmib_ has quit [Remote host closed the connection]
simmib_ has joined #ruby
astrobunny has quit []
haylon has joined #ruby
danguita has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
vikas027 has joined #ruby
<vikas027>
Hello Everyone, I am fairly new to Ruby (can write some code) and trying out Thor for a CLI. I have got it working to a start, but trying to figure out a way to use default method rather than specify one at CLI. Please have a look here - https://dpaste.de/m4Kh
gry has left #ruby [#ruby]
zacts has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
danguita has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 245 seconds]
conta has joined #ruby
chamunks- has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
<chamunks->
https://hastebin.com/remezazonu.sql I'm not really strong in the ways of Ruby but I'm trying to install a linux command line tool in the gem repository called Haste
<chamunks->
I keep getting this error "cannot load such file -- json/pure
agent_white has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chamunks->
Well all it took for me to fix it was to just try gem install json
ifctj has quit [Ping timeout: 264 seconds]
emilkarl has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mortomes|Train has joined #ruby
Axy has quit [Ping timeout: 248 seconds]
ecuanaso has joined #ruby
nankyokusei has joined #ruby
KC7778 has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
evie_hammond has quit [Quit: WeeChat 1.7]
<KC7778>
How's everyone doing?
<danielpclark>
good
neuraload has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
lxsameer has joined #ruby
cibs has quit [Ping timeout: 245 seconds]
neuraload has joined #ruby
cibs has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Remote host closed the connection]
ecuanaso has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
astrobun_ has joined #ruby
csk157_ has joined #ruby
consti has joined #ruby
consti has quit [Client Quit]
last_staff has joined #ruby
last_staff has quit [Client Quit]
aganov has joined #ruby
blaxter has quit [Quit: foo]
astrobunny has quit [Ping timeout: 255 seconds]
TomyWork has joined #ruby
Macaveli has joined #ruby
Devalo has joined #ruby
sneakerhax has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
teclator has joined #ruby
antgel has joined #ruby
mikecmpbll has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
<dminuoso>
Mmm, something about the Ruby classes escapes me. I'm a little unsure how a class method can be inherited if metaclasses (i.e. the singleton class of a class) are only created on demand.
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
<dminuoso>
Because that would imply that a class Derived < Base default has its klass set to RClass Class, which would keep the methods of Base' outside the reach of the method dispatch.
mark_66 has joined #ruby
cibs has joined #ruby
AndrewIsHere has joined #ruby
<dminuoso>
I mean, let's consider a case where A < B < C with a method being defined on C'
<dminuoso>
if you call A.method, then how can it be dispatched to C' unless both A' and B' already exist.
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ljarvis>
yorickpeterse: <3
AndrewIsHere has quit [Ping timeout: 255 seconds]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mortomes|Train has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
e1z0__ has joined #ruby
aupadhye has joined #ruby
bkxd has joined #ruby
nowhereman has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
Otterfox has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
<ljarvis>
man I hate active record
ta has joined #ruby
<ddffg>
why rust better than crystal lang?
nowhere_man has quit [Ping timeout: 240 seconds]
<ljarvis>
ddffg: this is #ruby, where we don't talk about rust vs crystal
<ljarvis>
we talk about.. ruby
<ljarvis>
sometimes
squ has joined #ruby
Ropeney has quit [Ping timeout: 255 seconds]
z3uS has quit [Ping timeout: 240 seconds]
z3uS has joined #ruby
e1z0__ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
<ddffg>
ljarvis, look at KC7778
<ddffg>
I think Ruby is losing popularity
milardovich has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
<ljarvis>
ok
Otterfox has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
psychicist__ has joined #ruby
KC7778 has joined #ruby
e1z0__ has joined #ruby
Guest42298 has joined #ruby
<Guest42298>
hello. What kind of jobs can people get without rails?
<Guest42298>
I hate rails but love ruby!
<mikecmpbll>
binman, dentist, NASA escape hatch designer
milardovich has quit [Ping timeout: 256 seconds]
KC7778 has quit [Client Quit]
<surrounder>
train conductor would be hard
<Guest42298>
i guess I'll go for "NASA escape hatch designer" then!
nobitanobi has joined #ruby
milardovich has joined #ruby
Silthias has joined #ruby
nowhere_man has joined #ruby
<ddffg>
<Guest42298> microservices
<SpComb>
mmm ruby microservices that take up 60MB of RSS, and you want to run a couple of them on each node
<SpComb>
say, anyone know of a good ruby memory profiler? :D
Silthias2 has joined #ruby
Silthias1 has quit [Ping timeout: 252 seconds]
<ddffg>
<SpComb> do you have live examples of microsrv that takes up 60MB
Pumukel has joined #ruby
Silthias has quit [Ping timeout: 256 seconds]
minimalism has quit [Ping timeout: 255 seconds]
grh has quit [Remote host closed the connection]
armyriad has quit [Read error: Connection reset by peer]
minimalism has joined #ruby
hutch34 has joined #ruby
<Guest42298>
is ruby better than python?
<herwin>
I don't think anyone here would say python is better
tvw has quit []
tvw has joined #ruby
<surrounder>
what's "better" anyhow
<herwin>
but you may get different reactions in #python
<atmosx>
herwin: being a sysadmin, I can assure you that the tools available in python are overwhelming... I can't say the same about tools (ready-made-libraries/executables) are available in ruby, but still I can do nearly everything in rb.
patarr has joined #ruby
<Guest42298>
ah ok. so you can do systems stuff in ruby, but you have to write it yourself because the libraries don't exist
<ljarvis>
Guest42298: python vs ruby is dependant on the task at hand and your own personal preference, so only you can answer that
<ljarvis>
there's pretty much a ruby gem for everything, but the noise to signal ratio can often be difficult
<atmosx>
herwin: quick example since SpComb asked for a memory profiler: https://github.com/pixelb/ps_mem (memory usage per prog for linux AFAIK)
hutch34 has quit [Ping timeout: 258 seconds]
<herwin>
but does that make a language better?
<atmosx>
ljarvis: agreed, I think for web application and meta-programming ruby is ahead, for the rest, I believe that python has a larger set of libs. I still prefer ruby though.
<ljarvis>
I like python, but i just have more fun writing ruby
<atmosx>
herwin: no, I'm in no position of judging the language itself, I leave that to core devs (who might have some more serious arguments thatn "I don't have a library available" :-)
<SpComb>
by memory profiler I mean "why is this ruby process eating 60MB at idle"
harai has quit [Ping timeout: 252 seconds]
* atmosx
is taking a look at Go and liking it so far.
kassav_ has quit [Quit: kassav_]
Elytra has quit [Quit: Connection closed for inactivity]
<ljarvis>
I write quite a lot of Go but don't enjoy it much. I *really* enjoy Elixir
kassav__ has joined #ruby
kassav__ is now known as kassav_
patarr has quit [Ping timeout: 255 seconds]
<Guest42298>
I like trying multiple languages...but I still have my favs
nowhere_man has quit [Remote host closed the connection]
<Guest42298>
I can see than Golang has advantages; but it's so boring!!!!
nowhere_man has joined #ruby
<elomatreb>
How can a programming language be boring/not boring?
<Guest42298>
comparitively
csk157 has joined #ruby
<elomatreb>
I still don't get what you mean :(
<Guest42298>
like a person with a vocabulary of 20 words. can be nice, but boring
<atmosx>
elomatreb: Go has one way of looping
<atmosx>
elomatreb: ruby has like 15 (or more). for, while, upto, times, etc.
<elomatreb>
All of which are the same thing except for while ;)
KC7778 has joined #ruby
<Guest42298>
exactly, ruby has super-cunnilingus looping abilities
<atmosx>
elomatreb: now someone who is not a professional programmer like me, but writes ruby here and there, sometimes gets scared when facing ruby one-liners that do too much magic. I don't see this happening with go, but then again someone might find this boring :-)
csk157_ has quit [Ping timeout: 240 seconds]
<elomatreb>
Ah, in that sense
KC7778 has quit [Client Quit]
Guest42298 has left #ruby [#ruby]
charliesome has joined #ruby
davezd has quit [Quit: Leaving]
scootaloo has joined #ruby
scootaloo has quit [Changing host]
scootaloo has joined #ruby
govg has quit [Ping timeout: 255 seconds]
scootaloo has quit [Client Quit]
saneax is now known as saneax-_-|AFK
scootaloo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Mia has quit [Ping timeout: 240 seconds]
matcouto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psychicist__ has quit [Ping timeout: 255 seconds]
govg has joined #ruby
bkxd has joined #ruby
JeanCarloMachado has joined #ruby
masta`` has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
davezd has joined #ruby
milardovich has quit [Remote host closed the connection]
psychicist__ has joined #ruby
nankyokusei has joined #ruby
koldbrutality has joined #ruby
nowhere_man has quit [Quit: Konversation terminated!]
nowhere_man has joined #ruby
charliesome has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
gigetoo has joined #ruby
pandaant has joined #ruby
flying has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
<ruby694>
I need help! Is there anybody who wants to help me?
lenwood has quit [Ping timeout: 240 seconds]
<scootaloo>
?ask
<ruby[bot]>
Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
<ruby694>
Ok I have very simple project for the University and I created, Edit page which can update the information, I want to create Remove button next to the Update button
<ruby694>
And I am trying to do this 2 days and I cannot do it.. for sure it is something simple but I am new in Ruby and I do not know what to write in order to work...
<ruby694>
put '/edit' do info = "#{params[:message]}" @info = info file= File.open("wiki.txt", "w") file.puts @info file.close redirect '/' end
<scootaloo>
for removing, you can simply add a new endpoint on delete then have a second form on your page that submits to the delete endpoint. You may have to tweak to make the form sends DELETE though, as it is not standard for HTML forms and I don't know if sinatra know the _method trick by default.
<ruby694>
Yes Sinatra
<scootaloo>
er duh, you're using _method already
<scootaloo>
so yeah, just make a new endpoint on delete method, then use a form similar to the one you're already using to wrap a delete button by changing the method (and removing fields except _method)
<ruby694>
Yeah but I do not know very well the methods and the rules and I have a deadline for the project, I am doing everything so fast and it is crazy... If you can write like a comment on the page in gist hub that I gave you I will appreciate that very much
<scootaloo>
just do the same way you did already for your existing endpoint, just with delete instead of put
<ruby694>
I will write it and then I will send it again, just to check it, Ok?
chouhoulis has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
chouhoulis has joined #ruby
conta has quit [Read error: Connection reset by peer]
opt9 has joined #ruby
jhack has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
RedFromage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has joined #ruby
amagawdd has joined #ruby
akahn has joined #ruby
devon21 has joined #ruby
SesMan has joined #ruby
tdump has quit [Remote host closed the connection]
jessiepuls has joined #ruby
synthroid has quit [Remote host closed the connection]
Chagel has quit [Ping timeout: 258 seconds]
arooni has joined #ruby
devon21 has quit [Quit: devon21]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruby694 has quit [Ping timeout: 260 seconds]
shwouchkster has joined #ruby
jhack has quit [Quit: jhack]
rippa has joined #ruby
shwouchkster is now known as shwouchk
cpruitt has joined #ruby
cyphase_eviltwin is now known as cyphase
polishdub has joined #ruby
matp_ has joined #ruby
arup_r has joined #ruby
teclator has joined #ruby
matp has quit [Ping timeout: 255 seconds]
<arup_r>
Hi, I am using this lib https://github.com/pdfkit/pdfkit. This works, but sometimes it is generating 400 pages, depending on the content size. I am looking for a way so that I can limit the pdf to have always fixed size pages, say <= 30. Do you know any trick to achieve this?
<arup_r>
if the content needs more than 30 pages, I will take only 30 pages. rest I'll ignore.
opt9 has quit [Quit: Bye bye]
danguita has joined #ruby
cyberik has joined #ruby
brandon_ has joined #ruby
opt9 has joined #ruby
Fernando-Basso has quit [Ping timeout: 240 seconds]
kies has quit [Read error: Connection reset by peer]
ferr1 has quit [Quit: WeeChat 1.6]
kies has joined #ruby
agent_white has joined #ruby
swills has quit [Read error: Connection reset by peer]
tdump has joined #ruby
<agent_white>
Mornin folks
<apeiros>
moin agent_white
saneax is now known as saneax-_-|AFK
teclator has quit [Ping timeout: 240 seconds]
swills has joined #ruby
grh has quit [Ping timeout: 264 seconds]
Fernando-Basso has joined #ruby
synthroid has joined #ruby
iNs has joined #ruby
Snickers has quit [Quit: Snickers]
raul782 has joined #ruby
bkxd has joined #ruby
conta has quit [Read error: Connection reset by peer]
Evesy has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
Evesy has joined #ruby
gusrub has joined #ruby
Evesy has quit [Client Quit]
cyberik has quit [Ping timeout: 260 seconds]
maleghast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tercenya has quit [Remote host closed the connection]
cgibsonmm has quit [Remote host closed the connection]
tercenya has joined #ruby
brent__ has joined #ruby
markholmes has joined #ruby
tdump has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
Fernando-Basso has quit [Quit: WeeChat 1.5]
maleghast has joined #ruby
Evesy has joined #ruby
anisha_ has joined #ruby
flying has quit []
nankyokusei has joined #ruby
markholmes has quit [Remote host closed the connection]
tuelz has quit [Ping timeout: 264 seconds]
markholmes has joined #ruby
danguita has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
ryan_notabot has joined #ruby
ryan_notabot has quit [Read error: Connection reset by peer]
Hobbyboy has quit [Ping timeout: 252 seconds]
xall has joined #ruby
benlieb has joined #ruby
feal has quit [Read error: Connection reset by peer]
ryan_notabot has joined #ruby
JeanCarloMachado has joined #ruby
boombox_ has joined #ruby
maleghast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dopamean_ has quit [Quit: brb]
sepp2k has joined #ruby
brent__ has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
renchan has quit [Quit: Leaving...]
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
last_staff has joined #ruby
nowhere_man has quit [Remote host closed the connection]
duderonomy has joined #ruby
nowhere_man has joined #ruby
maleghast has joined #ruby
marchelzo has quit [Quit: WeeChat 1.4]
whathappens has joined #ruby
boombox_ has quit [Remote host closed the connection]
gusrub has quit [Ping timeout: 245 seconds]
tdump has quit [Quit: Leaving...]
nowhere_man has quit [Remote host closed the connection]
marxarelli has joined #ruby
<benlieb>
can someone help me understand why this method is not behaving as documented, and returns 0 instead of true. I think this might be a ruby version issue?
<havenwood>
benlieb: It returns truthy rather than true. There was a bit of a kerfuffle with people complaining about Rails predicate methods not being only `true` or `false` a while ago and some implementations were changed to not always be true or false, since it is the Ruby way.
<tdump>
I'm getting an error that I left in the comments section. I don't understand why something is being considered nil. I thought that I had initialized everything, and that by converting a range to an array the values would be integers. Any help would be appreciated.
KnownSyntax has quit [Remote host closed the connection]
<apeiros>
tdump: [].reduce(:+) results in what?
snguyen has joined #ruby
nahra has quit [Ping timeout: 255 seconds]
snguyen has quit [Client Quit]
<havenwood>
apeiros: beat me to it, was about to ruby[bot] that line :-)
Guest78675 has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
fealscience has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
<tdump>
apeiros: huh? okay. let me look over that again. Thanks for the hint.
<tdump>
havenwood: you too haven
<havenwood>
[].sum #=> 0 # Ruby 2.4.0 for the win!
malconis_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swills__ has joined #ruby
swills_ has quit [Ping timeout: 255 seconds]
tildes has quit [Ping timeout: 240 seconds]
nowhereman has quit [Quit: Konversation terminated!]
<tdump>
god I hate project euler
gigetoo has joined #ruby
nowhereman has joined #ruby
<tdump>
i just have to keep looking up math concepts I'm not interested in rather than programming conecpts
<tdump>
:-(
fealy has quit [Quit: Leaving]
polishdub has quit [Quit: Leaving]
<baweaver>
That _is_ rather the point of Euler
<baweaver>
Project Rosalind is Bioinformatic. Kaggle is Data Science. Codewars is generic.
OTORelic has quit [Ping timeout: 258 seconds]
mholmes has joined #ruby
maddmaxx has joined #ruby
<tdump>
baweaver: I appreciate that info. I guess I was just venting. I don't have any interest in euler, but I need to do it to be considered for admission into a coding bootcamp I want to go to. It's a webdev bootcamp. I don't really see how the euler stuff is applicable. I'm guessing it was chosen to weed people out.
AndrewIsHere has quit []
gigetoo has quit [Ping timeout: 256 seconds]
markholmes has quit [Ping timeout: 240 seconds]
Puffball has joined #ruby
charliesome has joined #ruby
xen0fon has joined #ruby
despai has joined #ruby
<baweaver>
Then I suppose you'd better get good with math then or find another bootcamp with less requirements
quick has joined #ruby
wilbert has quit [Ping timeout: 240 seconds]
<tdump>
baweaver: I'm trying. I'm about 2/3 of the way done.
gigetoo has joined #ruby
quick has quit [Ping timeout: 252 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
blackbombay has quit [Ping timeout: 260 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
despai has quit [Quit: This computer has gone to sleep]
davezd has quit [Quit: Leaving]
saslam has quit [Ping timeout: 256 seconds]
maddmaxx has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
swills__ is now known as swills
raul782 has joined #ruby
Azure has quit [Client Quit]
raul782_ has joined #ruby
<tuelz>
)
gusrub has joined #ruby
<tuelz>
having trouble updating a relationship using AR magic `Model.update_all(foreign_key: @ivar)` doesn't work but Model.update_all(fk: @ivar.id) does work
<tuelz>
s/fk/fk_id/
raul782 has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<workmad3>
tuelz: update_all doesn't get a lot of the AR magic... it's closer to raw SQL, so you kinda need to use the second variant
JoshS has joined #ruby
ryan_notabot has quit [Ping timeout: 240 seconds]
raul782_ has quit [Ping timeout: 255 seconds]
despai has joined #ruby
harai has quit [Ping timeout: 258 seconds]
gigetoo has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]