00:01
<
centrx >
"they" is a degradation of the English language
00:01
<
centrx >
Doth thou not knowest this
00:01
<
pipework >
Is that what they say?
00:02
hahuang65 has quit [Ping timeout: 252 seconds]
00:03
<
centrx >
English majors do it with style
00:04
<
centrx >
GARDENERS do it by trimming your bush
00:06
sharpmachine has quit [Remote host closed the connection]
00:08
seamon has quit [Quit: Zzzzzzz]
00:09
nofxx__ has quit [Ping timeout: 252 seconds]
00:10
kgrz has joined #ruby-lang
00:11
mkaesz has joined #ruby-lang
00:12
Benstr has joined #ruby-lang
00:14
shinnya has joined #ruby-lang
00:14
elia has quit [Quit: Computer has gone to sleep.]
00:14
kgrz has quit [Ping timeout: 245 seconds]
00:15
sepp2k1 has joined #ruby-lang
00:15
knu has quit [Remote host closed the connection]
00:15
<
bnagy >
they is perfectly valid gender neutral
00:15
<
bnagy >
use goes back to like 14c
00:16
bruno- has joined #ruby-lang
00:16
sepp2k has quit [Ping timeout: 245 seconds]
00:17
<
bnagy >
also it's dost thou, not doth
00:19
thagomizer has quit [Quit: Leaving.]
00:19
mkaesz has quit [Ping timeout: 252 seconds]
00:21
bruno- has quit [Ping timeout: 245 seconds]
00:22
lsegal has joined #ruby-lang
00:25
Lewix has quit [Read error: Connection reset by peer]
00:25
lsegal has quit [Read error: Connection reset by peer]
00:25
lsegal has joined #ruby-lang
00:25
Lewix has joined #ruby-lang
00:26
torrieri has joined #ruby-lang
00:26
amerine has quit [Ping timeout: 245 seconds]
00:27
knu has joined #ruby-lang
00:28
harly has quit [Quit: Leaving]
00:29
harly has joined #ruby-lang
00:31
|jemc| has joined #ruby-lang
00:33
torrieri has quit [Quit: Leaving...]
00:35
lsegal has quit [Read error: Connection reset by peer]
00:36
mikecmpbll has quit [Quit: i've nodded off.]
00:36
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:36
gtc has joined #ruby-lang
00:37
ruby-lang528 has joined #ruby-lang
00:38
allomov has quit [Remote host closed the connection]
00:39
jxie has quit [Quit: leaving]
00:40
symm- has quit [Ping timeout: 245 seconds]
00:42
ruby-lang528 has quit [Ping timeout: 246 seconds]
00:42
marr has quit [Ping timeout: 268 seconds]
00:44
mikecmpbll has joined #ruby-lang
00:45
lsegal has joined #ruby-lang
00:48
emmesswhy has quit [Quit: This computer has gone to sleep]
00:50
|jemc| has quit [Quit: WeeChat 0.4.3]
00:50
amsi has quit [Quit: Leaving]
00:52
emmesswhy has joined #ruby-lang
00:54
|jemc| has joined #ruby-lang
00:56
djbkd has joined #ruby-lang
00:58
seamon has joined #ruby-lang
01:05
taylorrf has quit [Remote host closed the connection]
01:05
migbar has quit [Remote host closed the connection]
01:06
toastynerd has joined #ruby-lang
01:07
vintik has joined #ruby-lang
01:10
bruno- has joined #ruby-lang
01:11
kgrz has joined #ruby-lang
01:12
wallerdev has joined #ruby-lang
01:14
skade has joined #ruby-lang
01:14
skade has quit [Client Quit]
01:15
bruno- has quit [Ping timeout: 240 seconds]
01:16
kgrz has quit [Ping timeout: 276 seconds]
01:17
shinnya has quit [Ping timeout: 245 seconds]
01:18
io_syl_ has quit []
01:19
toastynerd has quit [Remote host closed the connection]
01:21
Lewix has quit [Remote host closed the connection]
01:23
shinnya has joined #ruby-lang
01:23
skade has joined #ruby-lang
01:24
mikecmpbll has quit [Quit: i've nodded off.]
01:30
shinnya has quit [Ping timeout: 252 seconds]
01:30
s1kx_ has quit [Quit: Leaving]
01:31
shinnya has joined #ruby-lang
01:32
Forgetful_Lion has joined #ruby-lang
01:34
jbardin has quit [Quit: jbardin]
01:36
yfeldblu_ has quit [Remote host closed the connection]
01:36
wallerdev has quit [Quit: wallerdev]
01:37
djbkd has quit [Remote host closed the connection]
01:40
djbkd has joined #ruby-lang
01:41
thomasxie has joined #ruby-lang
01:43
rayrai_ has joined #ruby-lang
01:43
skade has quit [Quit: Computer has gone to sleep.]
01:46
<
rayrai_ >
given = ["rock","paper","scissor"]
01:46
<
rayrai_ >
puts "Human Choose Wisely"
01:46
<
rayrai_ >
text = gets.chomp
01:46
<
rayrai_ >
until (given[0]..given[2]).include?(text)
01:46
<
rayrai_ >
text = gets.chomp
01:46
<
rayrai_ >
puts "Human Error, Type the word exactly"
01:47
OneMadHat has joined #ruby-lang
01:47
<
rayrai_ >
I can't seem to get it work
01:47
<
rayrai_ >
could anybody shed the light
01:47
<
tejas-manohar >
anyone worked with sinatra?
01:47
<
tejas-manohar >
i need some help
01:47
<
tejas-manohar >
with http reqs
01:48
<
centrx >
rayrai_, given[0]..given[2] specifies some kind of Range between "rock" and "scissor"
01:49
<
rayrai_ >
so how to fix it centrx
01:49
<
centrx >
rayrai_, You set of moves is called just "given", an array
01:49
<
centrx >
rayrai_, Array has include? just like Range does
01:50
<
rayrai_ >
I want program to accept three string only rock,paper or scissor
01:51
<
centrx >
given[0]..given[2] -- you may be thinking of given[0..2]
01:51
<
centrx >
in this case though, given[0..2] == given so the rest is unnecessary
01:52
<
rayrai_ >
I change it to until (given[0..2]).include?(text)
01:53
<
rayrai_ >
it worked
01:53
<
rayrai_ >
but if i enter
01:53
<
rayrai_ >
string execpt in given array
01:54
<
rayrai_ >
the program goes into infinity loop
01:54
<
centrx >
Not sure what you mean
01:55
<
rayrai_ >
ok i will clear this time
01:55
<
rayrai_ >
until (given[0..2]).include?(text)
01:55
<
rayrai_ >
text = gets.chomp
01:55
<
rayrai_ >
puts "Human Error, Type the word exactly"
01:56
<
rayrai_ >
if I enter anything that is beyond given my program goes into infinity loop
01:56
<
rayrai_ >
suppose if I input the value "test"
01:56
<
centrx >
It should keep asking you for a new word though?
01:56
<
rayrai_ >
it goes into infinity loop
01:56
<
rayrai_ >
yes that's what i was hoping for
01:56
<
rayrai_ >
but it didn't
01:57
<
centrx >
rayrai_, Looks like it is: on the first try it doesn't tell you "Type it in exactly"
01:57
seamon has quit [Quit: Zzzzzzz]
01:57
Lewix has joined #ruby-lang
01:57
<
centrx >
rayrai_, but it will still accept input, not an infinite loop
01:58
charliesome has joined #ruby-lang
01:58
yfeldblum has joined #ruby-lang
01:58
gtc has quit [Quit: kill -9 gtc]
01:59
spastorino has quit [Quit: Connection closed for inactivity]
02:00
gtc has joined #ruby-lang
02:00
<
rayrai_ >
hey centrx i restart the program and it worked fine
02:00
<
rayrai_ >
thanx for your help again
02:00
<
centrx >
Good luck out there!
02:04
<
pipework >
It's dangerous to go alone, take this.
02:04
bruno- has joined #ruby-lang
02:04
<
centrx >
Ruby-encrusted sword
02:05
taylorrf has joined #ruby-lang
02:09
bruno- has quit [Ping timeout: 240 seconds]
02:11
kgrz has joined #ruby-lang
02:12
djbkd has quit [Quit: My people need me...]
02:14
BloodyHistory has joined #ruby-lang
02:14
mkaesz has joined #ruby-lang
02:16
kgrz has quit [Ping timeout: 245 seconds]
02:18
mistym has quit [Remote host closed the connection]
02:19
wallerdev has joined #ruby-lang
02:20
mkaesz has quit [Ping timeout: 240 seconds]
02:21
torrieri has joined #ruby-lang
02:24
bsvineeth has joined #ruby-lang
02:25
BloodyHistory has quit [Remote host closed the connection]
02:26
BloodyHistory has joined #ruby-lang
02:27
BloodyHistory has quit [Client Quit]
02:29
tpope_ is now known as tpope
02:29
diegoviola has joined #ruby-lang
02:29
gtc has quit [Quit: kill -9 gtc]
02:29
havenwood has quit [Remote host closed the connection]
02:33
cmhobbs_ has joined #ruby-lang
02:34
cmhobbs_ has quit [Read error: Connection reset by peer]
02:37
CaptainJet has quit [Ping timeout: 276 seconds]
02:44
omosoj has quit [Quit: Leaving]
02:44
vintik has quit [Remote host closed the connection]
02:46
havenwood has joined #ruby-lang
02:55
Miphix has joined #ruby-lang
02:56
torrieri has quit [Quit: Leaving...]
02:56
nofxx__ has joined #ruby-lang
02:58
emmesswhy has quit [Quit: This computer has gone to sleep]
02:58
bruno- has joined #ruby-lang
03:01
Benstr has quit [Quit: Computer has gone to sleep.]
03:01
tkuchiki has joined #ruby-lang
03:02
Benstr has joined #ruby-lang
03:03
bruno- has quit [Ping timeout: 240 seconds]
03:04
skade has joined #ruby-lang
03:05
bsvineeth has quit [Remote host closed the connection]
03:06
sepp2k1 has quit [Read error: Connection reset by peer]
03:06
bsvineeth has joined #ruby-lang
03:06
Benstr has quit [Ping timeout: 260 seconds]
03:08
emmesswhy has joined #ruby-lang
03:09
Missphoenix has joined #ruby-lang
03:10
bsvineeth has quit [Ping timeout: 252 seconds]
03:12
kgrz has joined #ruby-lang
03:12
hagabaka has quit [Ping timeout: 276 seconds]
03:13
Miphix has quit [Ping timeout: 246 seconds]
03:13
imperator has joined #ruby-lang
03:14
hagabaka has joined #ruby-lang
03:16
mistym has joined #ruby-lang
03:16
diegoviola has quit [Read error: Connection reset by peer]
03:16
kgrz has quit [Ping timeout: 245 seconds]
03:18
skade has quit [Quit: Computer has gone to sleep.]
03:18
centrx has quit [Quit: Mead error: Connection reset by beer]
03:19
bsvineeth has joined #ruby-lang
03:20
gix has quit [Ping timeout: 264 seconds]
03:22
migbar has joined #ruby-lang
03:24
diegoviola has joined #ruby-lang
03:25
gix has joined #ruby-lang
03:26
Missphoenix has quit [Quit: Leaving]
03:32
Miphix has joined #ruby-lang
03:34
RobertBirnie has joined #ruby-lang
03:40
tkuchiki has quit [Remote host closed the connection]
03:41
diegoviola has quit [Quit: WeeChat 1.0]
03:45
emmesswhy has quit [Quit: This computer has gone to sleep]
03:48
postmodern has quit [Quit: Leaving]
03:52
mjc__ has joined #ruby-lang
03:53
<
rayrai_ >
<%=image_tag("rock.jpg", alt: "Rails", class: "img-circle", onclick: 'test') %>
03:53
<
rayrai_ >
how do you add code on this button on rails
03:53
<
rayrai_ >
sorry about the image tag
03:53
<
rayrai_ >
<button type="button" class="btn btn-primary">Rock</button>
03:53
<
rayrai_ >
how to add code on this button
03:54
<
rayrai_ >
I want the button to perform specific task when clicked
03:56
jdecuirm has quit [Ping timeout: 260 seconds]
03:56
diegoviola has joined #ruby-lang
03:56
toastynerd has joined #ruby-lang
03:56
jdecuirm has joined #ruby-lang
03:57
emmesswhy has joined #ruby-lang
04:02
<
imperator >
#rubyonrails
04:02
Lewix has quit [Remote host closed the connection]
04:02
Benstr has joined #ruby-lang
04:02
jhass is now known as jhass|off
04:02
tejas-manohar has quit [Ping timeout: 246 seconds]
04:03
Lewix has joined #ruby-lang
04:03
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:03
nathanstitt has quit [Quit: I growing sleepy]
04:03
toastynerd has quit [Remote host closed the connection]
04:04
Lewix has quit [Remote host closed the connection]
04:05
diegoviola has quit [Quit: WeeChat 1.0]
04:06
taylorrf has quit [Ping timeout: 245 seconds]
04:09
diegoviola has joined #ruby-lang
04:10
emmesswhy has quit [Quit: This computer has gone to sleep]
04:12
kgrz has joined #ruby-lang
04:13
necro has joined #ruby-lang
04:14
mkaesz has joined #ruby-lang
04:15
RobertBirnie has joined #ruby-lang
04:15
kgrz has quit [Read error: Connection reset by peer]
04:19
mkaesz has quit [Ping timeout: 268 seconds]
04:24
imperator has quit [Quit: Valete!]
04:25
charliesome has quit [Quit: zzz]
04:27
bsvineeth has quit [Remote host closed the connection]
04:27
bsvineeth has joined #ruby-lang
04:34
ruby-lang605 has quit [Ping timeout: 246 seconds]
04:34
bsvineeth has quit [Remote host closed the connection]
04:35
bsvineeth has joined #ruby-lang
04:36
diegoviola has quit [Quit: WeeChat 1.0]
04:40
toastynerd has joined #ruby-lang
04:40
bsvineeth has quit [Ping timeout: 260 seconds]
04:40
charliesome has joined #ruby-lang
04:40
thomasxie has quit [Remote host closed the connection]
04:40
thomasxie has joined #ruby-lang
04:42
diegoviola has joined #ruby-lang
04:43
bsvineeth has joined #ruby-lang
04:44
diegoviola has quit [Remote host closed the connection]
04:45
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:46
torrieri has joined #ruby-lang
04:46
bruno- has joined #ruby-lang
04:47
bruno- is now known as Guest51295
04:49
diegoviola has joined #ruby-lang
04:51
Guest51295 has quit [Ping timeout: 252 seconds]
04:58
toastynerd has quit [Remote host closed the connection]
05:01
chussenot has joined #ruby-lang
05:02
Iskarlar has joined #ruby-lang
05:13
io_syl has joined #ruby-lang
05:14
mkaesz has joined #ruby-lang
05:14
enkristoffer has joined #ruby-lang
05:15
diegoviola has quit [Quit: WeeChat 1.0]
05:19
mkaesz has quit [Ping timeout: 272 seconds]
05:20
diegoviola has joined #ruby-lang
05:23
hahuang65 has joined #ruby-lang
05:23
necro has quit [Ping timeout: 246 seconds]
05:28
mistym_ has joined #ruby-lang
05:30
mistym has quit [Disconnected by services]
05:30
mistym_ is now known as mistym
05:33
migbar has quit [Remote host closed the connection]
05:36
migbar_ has joined #ruby-lang
05:36
diegoviola has quit [Quit: WeeChat 1.0]
05:39
migbar_ has quit [Read error: Connection reset by peer]
05:39
migbar has joined #ruby-lang
05:40
torrieri has quit [Quit: Leaving...]
05:40
bruno- has joined #ruby-lang
05:43
diegoviola has joined #ruby-lang
05:44
migbar has quit [Ping timeout: 240 seconds]
05:46
bruno- has quit [Ping timeout: 255 seconds]
06:00
mjc__ has quit [Quit: Connection closed for inactivity]
06:04
chussenot has quit [Quit: chussenot]
06:06
diegoviola has quit [Quit: WeeChat 1.0]
06:10
diegoviola has joined #ruby-lang
06:12
chussenot has joined #ruby-lang
06:13
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:14
skade has joined #ruby-lang
06:14
kgrz has joined #ruby-lang
06:14
mkaesz has joined #ruby-lang
06:14
diegoviola has quit [Remote host closed the connection]
06:18
kgrz has quit [Ping timeout: 260 seconds]
06:18
diegoviola has joined #ruby-lang
06:19
mkaesz has quit [Ping timeout: 252 seconds]
06:21
centrx has joined #ruby-lang
06:23
migbar has joined #ruby-lang
06:25
enkristoffer has quit [Quit: ❤]
06:26
gjaldon has joined #ruby-lang
06:26
torrieri has joined #ruby-lang
06:27
migbar has quit [Ping timeout: 252 seconds]
06:28
kgrz has joined #ruby-lang
06:29
shinnya has quit [Ping timeout: 245 seconds]
06:29
torrieri_ has joined #ruby-lang
06:30
torrieri has quit [Read error: Connection reset by peer]
06:34
amerine has joined #ruby-lang
06:36
torrieri_ has quit [Ping timeout: 268 seconds]
06:36
gjaldon has quit [Remote host closed the connection]
06:38
skade has quit [Quit: Computer has gone to sleep.]
06:44
Mon_Ouie has joined #ruby-lang
06:45
ledestin has quit [Ping timeout: 252 seconds]
06:46
amerine has quit [Ping timeout: 264 seconds]
06:48
robbyoconnor has joined #ruby-lang
06:48
_ht has joined #ruby-lang
06:50
chussenot has quit [Quit: chussenot]
06:50
tkuchiki has joined #ruby-lang
06:52
|jemc| has quit [Ping timeout: 276 seconds]
06:54
relix has joined #ruby-lang
06:55
yfeldblum has quit [Remote host closed the connection]
06:57
ledestin has joined #ruby-lang
06:59
centrx has quit [Quit: Mead error: Connection reset by beer]
06:59
chussenot has joined #ruby-lang
07:06
danijoo has quit [Read error: Connection reset by peer]
07:06
danijoo has joined #ruby-lang
07:08
AKASkip has joined #ruby-lang
07:10
diegoviola has quit [Remote host closed the connection]
07:13
diegoviola has joined #ruby-lang
07:14
mkaesz has joined #ruby-lang
07:17
Iskarlar has joined #ruby-lang
07:19
mkaesz has quit [Ping timeout: 255 seconds]
07:21
io_syl has joined #ruby-lang
07:24
migbar has joined #ruby-lang
07:25
torrieri has joined #ruby-lang
07:25
zmartAzz has quit [Read error: Connection reset by peer]
07:27
torrieri has quit [Read error: Connection reset by peer]
07:28
migbar has quit [Ping timeout: 252 seconds]
07:29
bruno- has joined #ruby-lang
07:34
bruno- has quit [Ping timeout: 245 seconds]
07:35
allomov has joined #ruby-lang
07:37
toretore has joined #ruby-lang
07:38
diegoviola has quit [Quit: WeeChat 1.0]
07:40
bsvineeth has quit [Remote host closed the connection]
07:40
diegoviola has joined #ruby-lang
07:40
bsvineeth has joined #ruby-lang
07:45
bsvineeth has quit [Ping timeout: 245 seconds]
07:45
bsvineet_ has joined #ruby-lang
07:51
bsvineeth has joined #ruby-lang
07:52
Benstr has quit [Quit: Computer has gone to sleep.]
07:52
bsvineet_ has quit [Ping timeout: 240 seconds]
07:52
Benstr has joined #ruby-lang
07:55
yfeldblum has joined #ruby-lang
07:55
bruno- has joined #ruby-lang
07:56
yfeldblum has quit [Remote host closed the connection]
07:56
diegoviola has quit [Remote host closed the connection]
07:56
Kerber0s has joined #ruby-lang
07:57
yfeldblum has joined #ruby-lang
07:57
mkaesz has joined #ruby-lang
07:57
Benstr has quit [Ping timeout: 272 seconds]
08:00
diegoviola has joined #ruby-lang
08:09
chussenot has quit [Quit: chussenot]
08:10
mkaesz has quit [Remote host closed the connection]
08:10
mikecmpbll has joined #ruby-lang
08:15
bsvineeth has quit [Remote host closed the connection]
08:15
Mon_Ouie has quit [Quit: WeeChat 1.0]
08:16
mkaesz has joined #ruby-lang
08:16
mkaesz has quit [Remote host closed the connection]
08:17
havenwood has quit [Remote host closed the connection]
08:18
bsvineet_ has joined #ruby-lang
08:19
robbyoconnor has quit [Ping timeout: 255 seconds]
08:19
apeiros has joined #ruby-lang
08:21
allomov has quit [Remote host closed the connection]
08:22
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:22
fusillicode has joined #ruby-lang
08:22
robbyoconnor has joined #ruby-lang
08:23
Benstr has joined #ruby-lang
08:23
bruno- has quit [Ping timeout: 260 seconds]
08:24
wallerdev has quit [Quit: wallerdev]
08:24
migbar has joined #ruby-lang
08:24
relix has joined #ruby-lang
08:24
fusillicode1 has quit [Ping timeout: 245 seconds]
08:25
Lewix has joined #ruby-lang
08:26
allomov has joined #ruby-lang
08:27
bsvineet_ has quit [Remote host closed the connection]
08:28
bsvineeth has joined #ruby-lang
08:29
migbar has quit [Ping timeout: 252 seconds]
08:29
relix has quit [Ping timeout: 255 seconds]
08:29
Benstr has quit [Ping timeout: 255 seconds]
08:29
bsvineeth has quit [Read error: Connection reset by peer]
08:29
bsvineeth has joined #ruby-lang
08:30
allomov has quit [Ping timeout: 260 seconds]
08:30
wallerdev has joined #ruby-lang
08:37
qba73 has joined #ruby-lang
08:37
gjaldon has joined #ruby-lang
08:39
rayrai_ has quit [Ping timeout: 246 seconds]
08:42
fusillicode1 has joined #ruby-lang
08:45
Forgetful_Lion has quit [Remote host closed the connection]
08:45
fusillicode has quit [Ping timeout: 260 seconds]
08:46
wallerdev has quit [Quit: wallerdev]
08:46
chussenot has joined #ruby-lang
08:52
thomasxie has quit [Ping timeout: 264 seconds]
08:56
araujo has quit [Quit: Leaving]
08:56
diegoviola has quit [Quit: WeeChat 1.0]
08:59
charliesome has quit [Quit: zzz]
09:00
_Kerber0s_ has joined #ruby-lang
09:03
Kerber0s has quit [Ping timeout: 276 seconds]
09:03
diegoviola has joined #ruby-lang
09:06
jxie has joined #ruby-lang
09:08
dvorkbjel has quit [Remote host closed the connection]
09:10
dvorkbjel has joined #ruby-lang
09:11
io_syl has joined #ruby-lang
09:12
arBmind has joined #ruby-lang
09:12
mikecmpbll has quit [Quit: i've nodded off.]
09:13
shinnya has joined #ruby-lang
09:17
dangerousdave has joined #ruby-lang
09:18
mikecmpbll has joined #ruby-lang
09:18
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
09:18
enkristoffer has joined #ruby-lang
09:21
charliesome has joined #ruby-lang
09:25
migbar has joined #ruby-lang
09:26
Benstr has joined #ruby-lang
09:26
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:28
mikecmpbll has quit [Quit: i've nodded off.]
09:29
migbar has quit [Ping timeout: 260 seconds]
09:31
Benstr has quit [Ping timeout: 245 seconds]
09:36
danijoo has quit [Read error: Connection reset by peer]
09:37
danijoo has joined #ruby-lang
09:37
Benstr has joined #ruby-lang
09:41
sMecKs has quit [Read error: Connection reset by peer]
09:41
qba73_ has joined #ruby-lang
09:41
qba73_ has quit [Remote host closed the connection]
09:41
qba73_ has joined #ruby-lang
09:42
qba73_ has quit [Remote host closed the connection]
09:42
jhass|off is now known as jhass
09:44
qba73 has quit [Ping timeout: 264 seconds]
09:47
newsarpk92 has joined #ruby-lang
09:47
<
newsarpk92 >
I have problem
09:47
<
newsarpk92 >
I posted in rails group but nobody answers
09:47
<
newsarpk92 >
I am doing this
09:48
<
newsarpk92 >
and at the Add a file input field to the web form that allows users to browse and select images from their local filesystem. step
09:48
<
newsarpk92 >
I am getting an error
09:48
<
newsarpk92 >
undefined local variable or method `f' for
09:48
<
newsarpk92 >
How can I fix this?
09:53
yell0wgh0st has joined #ruby-lang
09:56
mistym has quit [Remote host closed the connection]
10:02
postmodern has joined #ruby-lang
10:02
_Kerber0s_ has quit [Remote host closed the connection]
10:03
Kerber0s has joined #ruby-lang
10:07
_Kerber0s_ has joined #ruby-lang
10:10
workmad3 has joined #ruby-lang
10:11
Kerber0s has quit [Ping timeout: 276 seconds]
10:13
mkaesz has joined #ruby-lang
10:17
dangerousdave has joined #ruby-lang
10:17
mkaesz has quit [Ping timeout: 252 seconds]
10:19
hellangel7 has joined #ruby-lang
10:20
hellangel7 has quit [Max SendQ exceeded]
10:20
marr has joined #ruby-lang
10:21
hellangel7 has joined #ruby-lang
10:23
stef_204 has joined #ruby-lang
10:26
migbar has joined #ruby-lang
10:26
stamina has joined #ruby-lang
10:29
chussenot has quit [Quit: chussenot]
10:30
migbar has quit [Ping timeout: 260 seconds]
10:34
hellangel7 has quit [Max SendQ exceeded]
10:35
hellangel7 has joined #ruby-lang
10:35
<
enkristoffer >
Is there a proper way to represent a time duration in Ruby or should I use something like a range from start time to end time?
10:37
hellangel7 has quit [Max SendQ exceeded]
10:37
<
jhass >
I'd use one of the gems that do that
10:38
<
jhass >
chronic_duration seems popular
10:38
Lewix has quit [Remote host closed the connection]
10:38
hellangel7 has joined #ruby-lang
10:38
<
ledestin >
enkristoffer: I can only note that people usually use Time when they should use monotonic clock
10:39
<
whitequark >
enkristoffer: usually it's an interval in seconds
10:39
<
whitequark >
with a Time range you get e.g. problems with timezones
10:39
chussenot has joined #ruby-lang
10:40
<
enkristoffer >
All right, seems like there are a few different options. I'll look into them all. Thanks all.
10:40
hellangel7 has quit [Max SendQ exceeded]
10:41
hellangel7 has joined #ruby-lang
10:41
benlovell has joined #ruby-lang
10:43
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:44
hellangel7 has quit [Max SendQ exceeded]
10:45
thomasxie has joined #ruby-lang
10:48
chussenot has quit [Quit: chussenot]
10:48
workmad3 has quit [Ping timeout: 260 seconds]
10:50
mikecmpbll has joined #ruby-lang
10:51
jxie has quit [Quit: leaving]
10:52
yfeldblum has quit [Ping timeout: 252 seconds]
10:54
yfeldblum has joined #ruby-lang
10:54
benlovell has quit [Quit: leaving]
10:55
chussenot has joined #ruby-lang
10:58
symm- has joined #ruby-lang
10:59
vintik has joined #ruby-lang
11:00
stamina has quit [Ping timeout: 252 seconds]
11:01
hellangel7 has joined #ruby-lang
11:01
TheToad has joined #ruby-lang
11:01
<
TheToad >
what's the ( :: ) operator called ?
11:03
hellangel7 has quit [Max SendQ exceeded]
11:04
Lewix has joined #ruby-lang
11:04
hellangel7 has joined #ruby-lang
11:05
<
symm- >
scope resolution operator?
11:05
<
symm- >
or was that in C++
11:06
<
apeiros >
whatever "double colon" translates to in japanese?
11:07
hellangel7 has quit [Max SendQ exceeded]
11:07
<
symm- >
daburu coron
11:07
hellangel7 has joined #ruby-lang
11:09
<
apeiros >
better than paamayim nekudotayim :)
11:10
hellangel7 has quit [Max SendQ exceeded]
11:10
hellangel7 has joined #ruby-lang
11:12
emmesswhy has joined #ruby-lang
11:13
hellangel7 has quit [Max SendQ exceeded]
11:13
hellangel7 has joined #ruby-lang
11:13
gjaldon has quit [Remote host closed the connection]
11:15
nofxx__ has quit [Ping timeout: 255 seconds]
11:15
vintik has quit [Remote host closed the connection]
11:16
hellangel7 has quit [Max SendQ exceeded]
11:17
hellangel7 has joined #ruby-lang
11:18
hellangel7 has quit [Max SendQ exceeded]
11:19
hellangel7 has joined #ruby-lang
11:20
hellangel7 has quit [Max SendQ exceeded]
11:21
phrozen77 has quit [Ping timeout: 260 seconds]
11:22
relix has joined #ruby-lang
11:26
phrozen77 has joined #ruby-lang
11:26
migbar has joined #ruby-lang
11:31
migbar has quit [Ping timeout: 246 seconds]
11:48
sarkyniin has joined #ruby-lang
11:50
molgrew has joined #ruby-lang
11:51
molgrew has quit [Client Quit]
11:51
Blaguvest has joined #ruby-lang
11:52
Lewix has quit [Remote host closed the connection]
11:53
tkuchiki has quit [Remote host closed the connection]
11:58
koderok has joined #ruby-lang
11:58
skade has joined #ruby-lang
12:01
Benstr has quit [Quit: Computer has gone to sleep.]
12:02
Benstr has joined #ruby-lang
12:02
enkristoffer has quit [Ping timeout: 246 seconds]
12:02
skade has quit [Ping timeout: 268 seconds]
12:05
emmesswhy has quit [Quit: This computer has gone to sleep]
12:06
Benstr has quit [Ping timeout: 252 seconds]
12:10
danijoo_ has joined #ruby-lang
12:10
danijoo has quit [Read error: Connection reset by peer]
12:17
chussenot has quit [Quit: chussenot]
12:19
mikecmpbll has quit [Quit: i've nodded off.]
12:23
taylorrf has joined #ruby-lang
12:24
migbar has joined #ruby-lang
12:25
chussenot has joined #ruby-lang
12:26
sarkyniin has quit [Ping timeout: 268 seconds]
12:28
mikecmpbll has joined #ruby-lang
12:31
bin7me has joined #ruby-lang
12:36
taylorrf_ has joined #ruby-lang
12:40
taylorrf has quit [Ping timeout: 272 seconds]
12:41
gjaldon has joined #ruby-lang
12:43
gjaldon_ has joined #ruby-lang
12:44
michd is now known as MichD
12:46
yfeldblum has quit [Ping timeout: 245 seconds]
12:46
gjaldon has quit [Ping timeout: 240 seconds]
12:47
kgrz has quit [Remote host closed the connection]
12:48
kgrz has joined #ruby-lang
12:48
tkuchiki has joined #ruby-lang
12:51
workmad3 has joined #ruby-lang
12:52
kgrz has quit [Ping timeout: 240 seconds]
12:52
spastorino has joined #ruby-lang
12:54
bakednotfried has joined #ruby-lang
12:56
gjaldon_ has quit [Remote host closed the connection]
12:57
gjaldon has joined #ruby-lang
12:57
gjaldon has quit [Read error: Connection reset by peer]
12:58
gjaldon has joined #ruby-lang
13:00
bin7me has quit [Quit: Leaving]
13:01
bin7me has joined #ruby-lang
13:02
Benstr has joined #ruby-lang
13:03
Benstr has quit [Read error: Connection reset by peer]
13:03
Benstr has joined #ruby-lang
13:06
workmad3 has quit [Ping timeout: 272 seconds]
13:10
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:24
kgrz has joined #ruby-lang
13:24
zmartAzz has joined #ruby-lang
13:25
sepp2k has joined #ruby-lang
13:30
dwknoxy has joined #ruby-lang
13:36
taylorrf_ has quit [Remote host closed the connection]
13:36
taylorrf has joined #ruby-lang
13:38
taylorrf has quit [Remote host closed the connection]
13:39
elia has joined #ruby-lang
13:40
koderok has quit [Ping timeout: 268 seconds]
13:46
knu has quit [Remote host closed the connection]
13:49
_Kerber0s_ has quit [Remote host closed the connection]
13:50
kgrz has quit [Remote host closed the connection]
13:51
Kerber0s has joined #ruby-lang
13:51
kgrz has joined #ruby-lang
13:52
Benstr has quit [Quit: Computer has gone to sleep.]
13:53
knu has joined #ruby-lang
13:53
Benstr has joined #ruby-lang
13:55
io_syl has joined #ruby-lang
13:56
knu has quit [Remote host closed the connection]
13:56
kgrz has quit [Ping timeout: 272 seconds]
13:56
Kerber0s has quit [Ping timeout: 268 seconds]
13:57
Benstr has quit [Ping timeout: 245 seconds]
14:00
Benstr has joined #ruby-lang
14:01
thomasxie has quit [Remote host closed the connection]
14:01
Benstr has quit [Client Quit]
14:03
knu has joined #ruby-lang
14:03
knu has quit [Remote host closed the connection]
14:04
RobertBirnie has joined #ruby-lang
14:08
Kerber0s has joined #ruby-lang
14:09
dangerousdave has joined #ruby-lang
14:11
hellangel7 has joined #ruby-lang
14:11
torrieri has joined #ruby-lang
14:17
enkristoffer has joined #ruby-lang
14:18
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:20
_Kerber0s_ has joined #ruby-lang
14:20
Kerber0s has quit [Read error: Connection reset by peer]
14:24
bruno- has joined #ruby-lang
14:26
FarlaTux has joined #ruby-lang
14:26
PHP4Ever has joined #ruby-lang
14:26
Dev-Gitter has joined #ruby-lang
14:27
dangerousdave has joined #ruby-lang
14:28
gjaldon has quit [Remote host closed the connection]
14:29
gjaldon has joined #ruby-lang
14:29
gjaldon has quit [Remote host closed the connection]
14:29
gjaldon has joined #ruby-lang
14:30
Dev-Gitter has quit [Max SendQ exceeded]
14:30
FarlaTux has quit [Max SendQ exceeded]
14:30
Dev-Gitter has joined #ruby-lang
14:31
kgrz has joined #ruby-lang
14:32
FarlaTux has joined #ruby-lang
14:33
FarlaTux has quit [Max SendQ exceeded]
14:34
FarlaTux has joined #ruby-lang
14:34
Dev-Gitter has quit [Client Quit]
14:34
PHP4Ever has quit [Quit: Leaving [Bye Everybody]]
14:34
FarlaTux has quit [Remote host closed the connection]
14:36
gjaldon has quit [Ping timeout: 240 seconds]
14:36
FarlaTux has joined #ruby-lang
14:36
PHP4Ever has joined #ruby-lang
14:37
Dev-Gitter has joined #ruby-lang
14:37
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:38
gjaldon has joined #ruby-lang
14:38
zmartAway has joined #ruby-lang
14:40
simoz1111117 has joined #ruby-lang
14:40
Dev-Gitter has quit [Max SendQ exceeded]
14:41
Dev-Gitter has joined #ruby-lang
14:41
zmartAzz has quit [Ping timeout: 246 seconds]
14:42
migbar has quit [Remote host closed the connection]
14:48
elia has quit [Quit: Computer has gone to sleep.]
14:58
yatish27 has joined #ruby-lang
14:58
bin7me has quit [Quit: Leaving]
15:00
gjaldon has quit []
15:11
simoz1111117 has quit [Ping timeout: 240 seconds]
15:14
elia has joined #ruby-lang
15:16
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:18
havenwood has joined #ruby-lang
15:21
Iskarlar has quit [Ping timeout: 240 seconds]
15:22
RobertBirnie has joined #ruby-lang
15:29
jordanbsanders has joined #ruby-lang
15:29
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:31
havenwood has quit [Remote host closed the connection]
15:32
elia has quit [Quit: Computer has gone to sleep.]
15:36
enkristoffer has quit [Ping timeout: 272 seconds]
15:38
toastynerd has joined #ruby-lang
15:39
symm- has quit [Ping timeout: 276 seconds]
15:40
nisstyre has quit [Quit: WeeChat 1.0]
15:40
nisstyre has joined #ruby-lang
15:43
nisstyre has quit [Client Quit]
15:43
nisstyre has joined #ruby-lang
15:44
nisstyre has quit [Client Quit]
15:44
toastynerd has quit [Remote host closed the connection]
15:46
bruno- has quit [Ping timeout: 245 seconds]
15:46
nisstyre has joined #ruby-lang
15:46
dorei has joined #ruby-lang
15:48
toastynerd has joined #ruby-lang
15:49
toastynerd has quit [Read error: Connection reset by peer]
15:50
toastynerd has joined #ruby-lang
15:52
relix has joined #ruby-lang
15:53
earthquake has joined #ruby-lang
15:59
havenwood has joined #ruby-lang
15:59
gjaldon has joined #ruby-lang
15:59
nathanstitt has joined #ruby-lang
16:02
snoopybbt has joined #ruby-lang
16:04
seamon has joined #ruby-lang
16:04
emmesswhy has joined #ruby-lang
16:06
emmesswhy has quit [Client Quit]
16:09
toastynerd has quit [Remote host closed the connection]
16:10
skade has joined #ruby-lang
16:14
centrx has joined #ruby-lang
16:16
jordanbsanders has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:16
migbar has joined #ruby-lang
16:17
phrozen77 has quit [Changing host]
16:17
phrozen77 has joined #ruby-lang
16:17
gjaldon_ has joined #ruby-lang
16:18
chussenot has quit [Quit: chussenot]
16:19
spastorino has quit [Quit: Connection closed for inactivity]
16:20
gjaldon has quit [Ping timeout: 260 seconds]
16:20
yatish27_ has joined #ruby-lang
16:23
yatish27 has quit [Ping timeout: 240 seconds]
16:24
_Kerber0s_ is now known as Kerber0s
16:29
yatish27_ has quit [Remote host closed the connection]
16:29
yatish27 has joined #ruby-lang
16:32
charliesome has quit [Quit: zzz]
16:33
kgrz has quit [Remote host closed the connection]
16:33
kgrz has joined #ruby-lang
16:34
emmesswhy has joined #ruby-lang
16:34
yatish27 has quit [Ping timeout: 264 seconds]
16:37
zmartAway is now known as zmartAzz
16:38
kgrz has quit [Ping timeout: 245 seconds]
16:39
sleepee has joined #ruby-lang
16:44
earthquake has quit [Quit: earthquake]
16:45
wallerdev has joined #ruby-lang
16:47
yatish27 has joined #ruby-lang
16:48
yfeldblum has joined #ruby-lang
16:52
heftig has quit [Quit: Quitting]
16:52
yfeldblum has quit [Ping timeout: 268 seconds]
16:53
wallerdev has quit [Quit: wallerdev]
16:56
sMecKs has joined #ruby-lang
16:57
Miphix has quit [Quit: Leaving]
16:58
seamon has quit [Quit: Zzzzzzz]
17:03
bougyman has joined #ruby-lang
17:03
bougyman is now known as Guest60091
17:04
yatish27_ has joined #ruby-lang
17:06
yatish27 has quit [Ping timeout: 252 seconds]
17:09
elia has joined #ruby-lang
17:09
Guest60091 has quit [Changing host]
17:09
Guest60091 has joined #ruby-lang
17:09
Guest60091 is now known as bougytoo
17:13
heftig has joined #ruby-lang
17:14
gjaldon_ has quit []
17:14
yatish27 has joined #ruby-lang
17:16
bruno- has joined #ruby-lang
17:16
yatish27_ has quit [Ping timeout: 246 seconds]
17:20
toastynerd has joined #ruby-lang
17:23
bsvineeth has quit [Remote host closed the connection]
17:23
arBmind has quit [Quit: Leaving.]
17:23
bsvineeth has joined #ruby-lang
17:24
fuhgeddaboudit has joined #ruby-lang
17:24
toastynerd has quit [Ping timeout: 255 seconds]
17:26
seamon has joined #ruby-lang
17:26
fuhgeddaboudit has quit [Remote host closed the connection]
17:28
bsvineeth has quit [Ping timeout: 245 seconds]
17:28
TheToad has quit [Quit: Leaving]
17:28
dangerousdave has joined #ruby-lang
17:29
dangerousdave has quit [Client Quit]
17:29
elia has quit [Quit: Computer has gone to sleep.]
17:30
dangerousdave has joined #ruby-lang
17:35
bsvineeth has joined #ruby-lang
17:39
bruno- has quit [Ping timeout: 245 seconds]
17:40
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:40
havenwood has quit [Remote host closed the connection]
17:40
MichD is now known as michd
17:41
havenwood has joined #ruby-lang
17:42
havenwood has quit [Remote host closed the connection]
17:47
AKASkip has quit [Quit: Leaving.]
17:47
bougytoo is now known as bougyman
17:49
io_syl has joined #ruby-lang
17:49
wallerdev has joined #ruby-lang
17:51
JetsekaiYori has joined #ruby-lang
17:53
mikecmpbll has quit [Remote host closed the connection]
17:53
saarinen has joined #ruby-lang
17:53
mikecmpbll has joined #ruby-lang
17:54
mistym has joined #ruby-lang
17:55
yell0wgh0st has quit [Quit: yell0wgh0st]
17:56
Iskarlar has joined #ruby-lang
17:56
yell0wgh0st has joined #ruby-lang
18:00
sarkyniin has joined #ruby-lang
18:02
tectonic has joined #ruby-lang
18:03
PHP4Ever has quit [Quit: Leaving [Bye Everybody]]
18:03
FarlaTux has quit [Quit: Leaving [Bye Everybody]]
18:03
Dev-Gitter has quit [Quit: Leaving [Bye Everybody]]
18:04
heftig has quit [Ping timeout: 268 seconds]
18:07
kgrz has joined #ruby-lang
18:08
mkaesz has joined #ruby-lang
18:08
banister has quit [Ping timeout: 240 seconds]
18:08
banister_ has joined #ruby-lang
18:08
banister_ has quit [Max SendQ exceeded]
18:09
banister has joined #ruby-lang
18:11
kgrz has quit [Ping timeout: 246 seconds]
18:14
JohnBat26 has joined #ruby-lang
18:16
heftig has joined #ruby-lang
18:17
migbar_ has joined #ruby-lang
18:18
saarinen has quit [Quit: saarinen]
18:19
symm- has joined #ruby-lang
18:19
havenwood has joined #ruby-lang
18:20
migbar has quit [Ping timeout: 252 seconds]
18:21
torrieri has quit [Quit: Leaving...]
18:21
diegoviola has quit [Quit: WeeChat 1.0]
18:27
knu has joined #ruby-lang
18:27
migbar_ has quit [Remote host closed the connection]
18:27
migbar has joined #ruby-lang
18:28
tomas has joined #ruby-lang
18:28
tomas is now known as Guest20693
18:30
<
Guest20693 >
Hey guys, how to unit test if 1 > 0, i know i can just if (1 > 0) ... but how to do more effeciantly like assert 1 > 0?
18:30
seamon has quit [Quit: Zzzzzzz]
18:32
migbar has quit [Ping timeout: 264 seconds]
18:32
x0f has quit [Ping timeout: 245 seconds]
18:32
shinnya has quit [Ping timeout: 264 seconds]
18:33
Caius has quit [Quit: ""]
18:33
Caius has joined #ruby-lang
18:34
x0f has joined #ruby-lang
18:36
yfeldblum has joined #ruby-lang
18:39
bruno- has joined #ruby-lang
18:41
yfeldblum has quit [Ping timeout: 276 seconds]
18:44
<
centrx >
Find the command for your testing framework that handles that case
18:48
bruno- has quit [Ping timeout: 245 seconds]
18:48
<
jhass >
Guest20693: yeah, it's hard to answer with such an constructed example and not even knowing your testing framework
18:50
skade has quit [Quit: Computer has gone to sleep.]
18:58
tectonic has quit []
19:02
hellangel7 has quit [Remote host closed the connection]
19:10
PsionTheory has joined #ruby-lang
19:10
lele__ has joined #ruby-lang
19:11
lele|2 has quit [Ping timeout: 252 seconds]
19:13
bruno- has joined #ruby-lang
19:13
hagabaka has quit [Ping timeout: 252 seconds]
19:14
hagabaka has joined #ruby-lang
19:14
chussenot has joined #ruby-lang
19:15
Jamo has quit [Ping timeout: 252 seconds]
19:15
Jamo has joined #ruby-lang
19:15
dabradley has quit [Ping timeout: 252 seconds]
19:16
dabradley has joined #ruby-lang
19:16
sMecKs has quit [*.net *.split]
19:16
bougyman has quit [*.net *.split]
19:16
hahuang65 has quit [*.net *.split]
19:16
jayne has quit [*.net *.split]
19:16
anekos_ has quit [*.net *.split]
19:16
mahlon has quit [*.net *.split]
19:20
<
Guest20693 >
I figuret ir out, was simple mistake :) Thanks for help anyway :)
19:21
necro has joined #ruby-lang
19:29
bougyman has joined #ruby-lang
19:29
sMecKs has joined #ruby-lang
19:29
mahlon has joined #ruby-lang
19:29
jayne has joined #ruby-lang
19:29
anekos_ has joined #ruby-lang
19:29
hahuang65 has joined #ruby-lang
19:30
xtruder has joined #ruby-lang
19:34
relix_ has joined #ruby-lang
19:35
hahuang65 has quit [Ping timeout: 252 seconds]
19:37
relix has quit [Ping timeout: 246 seconds]
19:39
seamon has joined #ruby-lang
19:56
AKASkip has joined #ruby-lang
19:56
chussenot_ has joined #ruby-lang
19:59
chussenot has quit [Ping timeout: 264 seconds]
19:59
chussenot_ is now known as chussenot
19:59
JohnBat26 has quit [Ping timeout: 245 seconds]
20:02
hahuang65 has joined #ruby-lang
20:02
necro has quit [Ping timeout: 246 seconds]
20:05
heftig has quit [Quit: Quitting]
20:05
stamina has joined #ruby-lang
20:05
heftig has joined #ruby-lang
20:06
_ht has quit [Remote host closed the connection]
20:10
heftig_ has joined #ruby-lang
20:10
saarinen has joined #ruby-lang
20:12
vintik has joined #ruby-lang
20:13
heftig has quit [Ping timeout: 264 seconds]
20:20
spastorino has joined #ruby-lang
20:21
snoopybbt has quit [Ping timeout: 245 seconds]
20:22
danijoo_ has quit [Read error: Connection reset by peer]
20:22
danijoo has joined #ruby-lang
20:29
postmodern has quit [Quit: Leaving]
20:29
nofxx__ has joined #ruby-lang
20:31
yfeldblum has joined #ruby-lang
20:38
malconis has joined #ruby-lang
20:39
Adam_ActiveState has quit [Quit: WeeChat 0.4.2]
20:40
seamon has quit [Quit: Zzzzzzz]
20:48
chills42 has joined #ruby-lang
20:58
chills42 has quit [Remote host closed the connection]
20:58
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:00
wallerdev has quit [Quit: wallerdev]
21:00
wallerdev has joined #ruby-lang
21:01
malconis has joined #ruby-lang
21:04
sepp2k has quit [Read error: Connection reset by peer]
21:07
jordanbsanders has joined #ruby-lang
21:07
RobertBirnie has joined #ruby-lang
21:08
RobertBirnie has quit [Client Quit]
21:11
RobertBirnie has joined #ruby-lang
21:13
mkaesz has quit [Remote host closed the connection]
21:15
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:16
yell0wgh0st has quit [Quit: yell0wgh0st]
21:17
saarinen has quit [Quit: saarinen]
21:17
mkaesz has joined #ruby-lang
21:20
mskaesz has joined #ruby-lang
21:20
mskaesz has quit [Read error: Connection reset by peer]
21:20
mkaesz_ has joined #ruby-lang
21:24
mkaesz has quit [Ping timeout: 264 seconds]
21:25
mkaesz_ has quit [Ping timeout: 245 seconds]
21:27
allomov has joined #ruby-lang
21:28
skade has joined #ruby-lang
21:30
nofxx__ is now known as nofxx
21:30
nofxx has quit [Changing host]
21:30
nofxx has joined #ruby-lang
21:34
lsegal has joined #ruby-lang
21:41
io_syl has joined #ruby-lang
21:43
yfeldblum has quit [Read error: Connection reset by peer]
21:44
yfeldblum has joined #ruby-lang
21:46
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:49
chussenot has quit [Quit: chussenot]
21:56
shinnya has joined #ruby-lang
21:57
kgrz has joined #ruby-lang
21:57
JetsekaiYori has quit [Ping timeout: 255 seconds]
21:57
TrueJet has joined #ruby-lang
22:02
skade has quit [Quit: Computer has gone to sleep.]
22:04
skade has joined #ruby-lang
22:07
mkaesz has joined #ruby-lang
22:08
emmesswhy has quit [Quit: This computer has gone to sleep]
22:08
PsionTheory has quit [Remote host closed the connection]
22:10
sepp2k has joined #ruby-lang
22:11
b06464f377 has quit [Quit: leaving]
22:16
mkaesz has quit [Ping timeout: 272 seconds]
22:16
allomov has quit [Remote host closed the connection]
22:17
vintik has quit [Remote host closed the connection]
22:20
apt-get_ has joined #ruby-lang
22:21
Guest20693 has quit [Ping timeout: 246 seconds]
22:22
yatish27_ has joined #ruby-lang
22:24
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:24
yatish27 has quit [Ping timeout: 245 seconds]
22:24
bruno- has quit [Ping timeout: 245 seconds]
22:24
sarkyniin has quit [Ping timeout: 264 seconds]
22:24
workmad3 has joined #ruby-lang
22:25
heftig_ is now known as heftig
22:26
havenwood has quit [Remote host closed the connection]
22:27
malconis has joined #ruby-lang
22:27
malconis has quit [Client Quit]
22:28
bsvineeth has quit [Remote host closed the connection]
22:28
skade has quit [Quit: Computer has gone to sleep.]
22:31
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:31
skade has joined #ruby-lang
22:33
Lewix has joined #ruby-lang
22:34
Lewix has quit [Remote host closed the connection]
22:35
malconis has joined #ruby-lang
22:39
tectonic has joined #ruby-lang
22:40
Lewix has joined #ruby-lang
22:40
skade has quit [Quit: Computer has gone to sleep.]
22:41
snoopybbt has joined #ruby-lang
22:41
tectonic has quit [Client Quit]
22:47
chouhoulis has quit [Ping timeout: 240 seconds]
22:52
chouhoulis has joined #ruby-lang
22:57
TrueJet has quit [Ping timeout: 255 seconds]
22:58
chouhoulis has quit [Ping timeout: 264 seconds]
23:02
rubynewbie987123 has joined #ruby-lang
23:02
<
rubynewbie987123 >
hello
23:02
<
rubynewbie987123 >
ruby newbie here
23:02
<
rubynewbie987123 >
that rhymes
23:03
<
rubynewbie987123 >
I am beginning to learn ruby through Bruce Tate's book '7 Languages in 7 Weeks'
23:04
<
jhass >
rubynewbie987123: great, just ask if you got any questions
23:04
<
rubynewbie987123 >
as part of the exercises for ruby, I had to find the ruby community online
23:04
<
bougyman >
you found it
23:04
<
rubynewbie987123 >
is this the de-facto place for asking dumb misplaced questions about ruby?
23:04
<
bougyman >
great book, by the way.
23:04
<
bougyman >
rubynewbie987123: it is.
23:04
<
rubynewbie987123 >
yeah I am enjoying it
23:04
<
rubynewbie987123 >
only read through the first day
23:05
<
rubynewbie987123 >
excellent
23:05
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:05
<
jhass >
rubynewbie987123: there's the more popular #ruby and the way less popular ##new2ruby. You should get your questions answered in any place though
23:05
<
rubynewbie987123 >
awesome
23:05
<
rubynewbie987123 >
what else would you recommend in terms of getting to know the ruby community
23:06
<
bougyman >
find a local group.rb
23:06
<
bougyman >
if you're in/near a major u.s. city there is probably a monthly meetup
23:06
<
rubynewbie987123 >
I am based in london, uk, there must be meetups
23:06
<
bougyman >
absolutely
23:06
<
bougyman >
I know quite a few rubyists there.
23:07
<
rubynewbie987123 >
thanks bougyman, I will check that out
23:07
<
rubynewbie987123 >
so I am a java guy, been doing Java for a few years now in the enterprise
23:08
<
bougyman >
java to ruby is a very easy transition, from what I hear.
23:08
<
bougyman >
I learned ruby before java.
23:08
<
bougyman >
it felt like hell doing it in that order.
23:08
Forgetful_Lion has joined #ruby-lang
23:08
<
rubynewbie987123 >
I am getting quite a 'functional' feel when using ruby, which is a good thing
23:08
<
oddmunds >
i came to ruby from java, was very easy transition
23:09
<
oddmunds >
you can almost write java in ruby
23:09
AKASkip has quit [Ping timeout: 276 seconds]
23:09
<
rubynewbie987123 >
absolutely
23:09
<
jhass >
oddmunds: that sounds boring ;P
23:09
<
bougyman >
to me java feels like so much overhead, with all the structures you have to build just to get a usable object.
23:09
<
jhass >
why would I write java if I can write ruby!
23:09
<
bougyman >
but I go off-topic.
23:09
<
rubynewbie987123 >
java gets very clunky with things like anonymous classes, which are now being replaced by lambdas in java 8
23:10
<
jhass >
haha, you wish
23:10
<
jhass >
if at all maybe half of that stuff is a functional interface
23:10
<
rubynewbie987123 >
do tell me though, I hear ruby isn't as performance friendly as JVM
23:10
<
bougyman >
you can run jruby on the jvm
23:10
<
oddmunds >
jhass: i meant that the transition is easy
23:10
<
rubynewbie987123 >
but whats the production setup usually?
23:11
<
rubynewbie987123 >
is it run on JVM in prod?
23:11
<
bougyman >
I know many people that run jruby in prod
23:11
<
bougyman >
we use jruby only for a storm implementation and a camel one.
23:11
<
rubynewbie987123 >
cool, thats great to know actually
23:11
<
bougyman >
we use mri for microservices and web controllers.
23:11
<
rubynewbie987123 >
mri is?
23:11
mkaesz has joined #ruby-lang
23:12
<
bougyman >
regular ruby, in C
23:12
<
rubynewbie987123 >
ah I see
23:12
<
bougyman >
"matz's ruby implementation" is how I learned the acronym
23:12
<
bougyman >
but i've heard other variations.
23:13
<
rubynewbie987123 >
cool, sorry if that's common knowledge - I am learning the history here man!
23:13
<
jhass >
I think most common is interpreter instead of implementation
23:13
<
jhass >
it's okay, we all learned it at some point
23:13
<
rubynewbie987123 >
so is the interpreter usually used for scripting stuff
23:14
<
bougyman >
the ruby vm has changed a lot.
23:14
<
bougyman >
so it matters which version you're talking about
23:14
<
rubynewbie987123 >
I see
23:14
<
bougyman >
and there are quite a few ruby implementations now.
23:15
<
rubynewbie987123 >
so if I am starting out, do I stick to the latest I assume ..?
23:15
<
bougyman >
jruby (the jvm), mri (c), rubinius (llvm), others
23:15
<
bougyman >
good plan.
23:15
<
rubynewbie987123 >
when you say implementations, do you mean the core language itself or the platforms where ruby runs?
23:15
<
bougyman >
i'm not just starting out but I always code on latest (2.1.X now)
23:15
<
bougyman >
i mean implementations of the language.
23:15
<
bougyman >
like sun java vs ibm java vs openjdk.
23:15
<
bougyman >
kind of.
23:16
<
rubynewbie987123 >
ok got it
23:16
mkaesz has quit [Ping timeout: 268 seconds]
23:17
<
rubynewbie987123 >
i mean most of the world uses *nix boxes so if you developed code using one of the platforms (i.e. jruby / mri / rubinius), there shouldn't be any major problems w.r.t porting code over
23:17
<
rubynewbie987123 >
ok thats good
23:17
<
bougyman >
i've never tried jruby or rubinius on windows.
23:17
<
bougyman >
but I think they probably run on it?
23:17
<
rubynewbie987123 >
what IDE is popular for ruby?
23:17
<
bnagy >
jruby for sure
23:17
<
bougyman >
I haven't had a windows box in a long time.
23:17
<
bougyman >
rubynewbie987123: my boss LOVES rubymine
23:17
<
bnagy >
rbx I'm doubtful
23:17
<
rubynewbie987123 >
I am on mac
23:17
<
bougyman >
I just use vim with some good plugins.
23:18
<
rubynewbie987123 >
rubymine
23:18
<
bougyman >
rubymine doesn't look horrible, though, even to a cavemen like me.
23:18
<
bougyman >
other devs at my co. use textmate
23:18
<
rubynewbie987123 >
ah.. its a plugin on intelij
23:19
<
rubynewbie987123 >
I have used eclipse for so long that its such an effort trying to switch over to intellij
23:19
<
bougyman >
i'm a vimmer, wouldn't know
23:20
<
rubynewbie987123 >
to be honest, I am trying out emacs, and so far its got to be the most amazing editor I have used.
23:20
<
bougyman >
I did emacs for quite a while when I was coding lisp full-time.
23:20
<
bougyman >
I had surgery for rss.
23:20
amjibaly has joined #ruby-lang
23:20
<
rubynewbie987123 >
emacs rocks my world
23:20
<
bougyman >
I becaame a vimmer after that.
23:20
<
rubynewbie987123 >
really?
23:20
<
bougyman >
yes, really.
23:21
<
rubynewbie987123 >
sorry to hear that.. but I think I do get the hang of it now
23:21
<
rubynewbie987123 >
I find it useful to bind the CTRL key to caps lock, and then it becomes less painful to use
23:22
<
rubynewbie987123 >
vim is really cool, and for anyone having spent enough time in *nix shells, you kinda need to use it, as its usually the default on most systems
23:23
<
rubynewbie987123 >
bougyman, awesome :)
23:24
<
rubynewbie987123 >
yeah I got into emacs after trying to learn me some clojure
23:24
<
rubynewbie987123 >
as that was one of the recommended IDEs
23:25
<
bougyman >
s/IDE/OS/
23:25
<
rubynewbie987123 >
actually, I agree
23:25
<
rubynewbie987123 >
yes :)
23:26
<
rubynewbie987123 >
so are you a vim'ja then, churning out vim tricks like a samurai cutting bamboo
23:27
<
rubynewbie987123 >
anyhow, nice talking with you bougyman
23:27
JetsekaiYori has joined #ruby-lang
23:28
<
rubynewbie987123 >
I will be coming in now and then, to say hi and probably looking for some more ruby wisdom
23:28
<
rubynewbie987123 >
thanks for making an anonymous newbie made welcome
23:29
<
rubynewbie987123 >
cheers
23:30
workmad3 has quit [Ping timeout: 260 seconds]
23:35
Meta5 has joined #ruby-lang
23:36
havenwood has joined #ruby-lang
23:36
havenn has joined #ruby-lang
23:36
havenn has quit [Client Quit]
23:37
xenogis has quit [Ping timeout: 240 seconds]
23:37
sent-hil has joined #ruby-lang
23:38
Meta5 has quit [Client Quit]
23:39
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:40
marr has quit [Read error: Connection reset by peer]
23:45
malconis has joined #ruby-lang
23:47
malconis has quit [Client Quit]
23:49
mikecmpbll has quit [Quit: i've nodded off.]
23:50
bruno- has joined #ruby-lang
23:50
malconis has joined #ruby-lang
23:50
apt-get_ has quit [Ping timeout: 255 seconds]
23:54
zenojis has joined #ruby-lang
23:54
charliesome has joined #ruby-lang
23:55
bruno- has quit [Ping timeout: 268 seconds]
23:58
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]