fflush changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste > 3 lines of text on pastebin.com
slicslak has joined #ruby
emmanuelux has joined #ruby
<falieson> arkham: http://pastie.org/4868004 updated but still the same error. I think there is something wrong in how I'm trying to do the insert
<falieson> `query': Mysql::Error: Column count doesn't match value count at row 1 (Sequel::DatabaseError)
ipoval_ has joined #ruby
ipoval has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
beachandbytes has quit [Ping timeout: 260 seconds]
beachandbytes has joined #ruby
ipoval_ has quit [Ping timeout: 246 seconds]
<falieson> I was calling the insert in the wrong order
freeayu has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 246 seconds]
joofsh has quit [Ping timeout: 245 seconds]
bapa has quit [Ping timeout: 246 seconds]
LouisGB has joined #ruby
<falieson> http://pastie.org/4868110 full error is in there, but I'll tell you the problem is in me trying to do that db select.each
mxweas has quit [Quit: Computer has gone to sleep.]
jimeh4 has joined #ruby
erichmenge has joined #ruby
falieson has left #ruby [#ruby]
reuf has joined #ruby
lggr has joined #ruby
Gm4n has joined #ruby
demet8 has joined #ruby
demet8 has left #ruby [#ruby]
ij has quit [Read error: Connection reset by peer]
Jork1 has quit [Quit: Jork1]
katherinem13 has quit [Quit: katherinem13]
elico has joined #ruby
elico has quit [Client Quit]
ianblenke2 has quit [Ping timeout: 248 seconds]
lggr has quit [Ping timeout: 246 seconds]
katherinem13 has joined #ruby
Cache_Money has quit [Read error: Connection reset by peer]
Cache_Money has joined #ruby
hsbt has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
eddieolson has quit [Quit: Leaving...]
stopbit has quit [Quit: Leaving]
CaptainJet has quit []
Xeago has quit [Remote host closed the connection]
hsbt has joined #ruby
Takehiro has joined #ruby
GoogleGuy has joined #ruby
daniel_- has joined #ruby
mengu has quit [Remote host closed the connection]
charliesome has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
arkham has quit [Quit: WeeChat 0.3.8]
hsbt is now known as hsbt_away
Takehiro has quit [Ping timeout: 260 seconds]
ianblenke1 has joined #ruby
adeponte has joined #ruby
hsbt_away is now known as hsbt
notwen has quit [Read error: Connection reset by peer]
arkham has joined #ruby
arkham has quit [Client Quit]
notwen has joined #ruby
bapa has joined #ruby
kryl99_ has joined #ruby
Jay_Levitt has joined #ruby
icole has joined #ruby
lggr has joined #ruby
burgestrand has joined #ruby
reuf has quit [Quit: Leaving]
hsbt has quit [Ping timeout: 260 seconds]
<shevy> I want mruby finished
bricker has joined #ruby
<matti> ;]
lggr has quit [Ping timeout: 256 seconds]
saschagehlich has quit [Quit: saschagehlich]
acrocity has quit [Quit: leaving...]
lggr has joined #ruby
acrocity has joined #ruby
hsbt has joined #ruby
bricker has quit [Ping timeout: 246 seconds]
seanwash has joined #ruby
darthdeus has joined #ruby
hsbt is now known as hsbt_away
whowantstolivefo has quit [Ping timeout: 245 seconds]
hsbt_away is now known as hsbt
lggr has quit [Ping timeout: 246 seconds]
rabidpraxis has quit [Remote host closed the connection]
seanwash has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tommyvyo has quit [Quit: Computer has gone to sleep.]
kryl99_ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
quest88 has quit [Quit: quest88]
hsbt has quit [Ping timeout: 244 seconds]
lggr has joined #ruby
niklasb has joined #ruby
bsilwal has quit [Quit: Leaving.]
hsbt_away has joined #ruby
DrShoggoth has joined #ruby
<matti> havenn: Can you add your celluloid gist again? I wanted to try it ;]
Virunga has joined #ruby
emmanuelux has quit [Remote host closed the connection]
jimeh4 has quit [Ping timeout: 248 seconds]
hsbt_away has quit [Ping timeout: 248 seconds]
<havenn> matti: The one I posted was totally broken, I'm curious to get it working though. :) We must solve this dreadful FizzBuzz scaling problem! =P
darthdeus has quit [Quit: Linkinus - http://linkinus.com]
lggr has quit [Ping timeout: 244 seconds]
hsbt_away has joined #ruby
Hanmac1 has joined #ruby
havenn has quit [Remote host closed the connection]
icole has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 252 seconds]
snorkdude has quit [Remote host closed the connection]
lggr has joined #ruby
hsbt_away has quit [Ping timeout: 248 seconds]
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-rc2)]
lggr has quit [Ping timeout: 256 seconds]
niklasb has quit [Ping timeout: 255 seconds]
elico has joined #ruby
hsbt_away has joined #ruby
Virunga has quit [Remote host closed the connection]
lggr has joined #ruby
lurraca has quit [Quit: This computer has gone to sleep]
jeffreybaird has joined #ruby
jblack has joined #ruby
adeponte has quit [Remote host closed the connection]
gmci has quit [Ping timeout: 246 seconds]
DrShoggoth has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 256 seconds]
Fretta has joined #ruby
lggr has joined #ruby
Forevernade has quit [Ping timeout: 256 seconds]
erichmenge has quit [Quit: Be back later]
gmci has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.8]
Takehiro has joined #ruby
gmci has quit [Ping timeout: 244 seconds]
baphled has quit [Ping timeout: 256 seconds]
lggr has quit [Ping timeout: 260 seconds]
swarley has joined #ruby
gmci has joined #ruby
gmci has quit [Read error: No route to host]
gmci has joined #ruby
Elico1 has joined #ruby
parzorep has joined #ruby
mark_ has joined #ruby
tommyvyo has joined #ruby
rvmeier has joined #ruby
Takehiro has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
pkondzior_ has joined #ruby
LouisGB has quit [Ping timeout: 245 seconds]
pkondzior has quit [Ping timeout: 246 seconds]
elico has quit [Ping timeout: 246 seconds]
voodoofish has quit [Ping timeout: 246 seconds]
ecksit has quit [*.net *.split]
jbw has quit [*.net *.split]
TomJ has quit [*.net *.split]
icy` has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
hackeron has quit [*.net *.split]
philips_ has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
Beoran has quit [*.net *.split]
jhchabran has quit [*.net *.split]
deadSnowman has quit [*.net *.split]
jhchabran has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
ipoval has joined #ruby
syamajala has joined #ruby
kiyoura has joined #ruby
icy` has joined #ruby
ecksit has joined #ruby
jbw has joined #ruby
hackeron has joined #ruby
SegFaultAX has joined #ruby
philips_ has joined #ruby
Beoran has joined #ruby
deadSnowman has joined #ruby
Mon_Ouie has joined #ruby
TomJ has joined #ruby
t0rc has joined #ruby
daniel_- has quit [Quit: WeeChat 0.3.8]
lggr has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
DrShoggoth has joined #ruby
kiyoura` has joined #ruby
mikekelly has quit [Ping timeout: 240 seconds]
fredjean has quit [Quit: Computer has gone to sleep.]
mikekelly has joined #ruby
kiyoura has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 252 seconds]
icy` has quit [Ping timeout: 246 seconds]
icy` has joined #ruby
icy` has quit [Changing host]
icy` has joined #ruby
tk_ has joined #ruby
icy` has quit [*.net *.split]
jbw has quit [*.net *.split]
ecksit has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
Beoran has quit [*.net *.split]
hackeron has quit [*.net *.split]
philips_ has quit [*.net *.split]
deadSnowman has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
pskosinski has quit [Quit: Some alternative (not-controlled-by-fu*up-developers/moderators) Red Eclipse servers: http://altred.tk/lmaster]
BMF has joined #ruby
Jamone has joined #ruby
Jamone has joined #ruby
Jamone has quit [Changing host]
Monie has quit [Ping timeout: 244 seconds]
lggr has joined #ruby
Monie has joined #ruby
Monie has joined #ruby
Monie has quit [Changing host]
Jamone has quit [Ping timeout: 244 seconds]
ecksit has joined #ruby
Mon_Ouie has joined #ruby
SegFaultAX has joined #ruby
hackeron has joined #ruby
deadSnowman has joined #ruby
jbw has joined #ruby
Beoran has joined #ruby
philips_ has joined #ruby
rvmeier has quit [Quit: Leaving]
Hanmac has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
Hanmac1 has quit [Ping timeout: 240 seconds]
snorkdude has joined #ruby
theRoUS has quit [Ping timeout: 252 seconds]
daniel_- has joined #ruby
deadSnowman has quit [Ping timeout: 246 seconds]
deadSnowman has joined #ruby
lggr has joined #ruby
sailias has joined #ruby
sailias has quit [Client Quit]
Ruler_Of_Heaven_ has joined #ruby
pipopopo has quit [Ping timeout: 252 seconds]
lot49 has joined #ruby
baroquebobcat has joined #ruby
karstensrage has quit [Read error: Operation timed out]
lushious has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
fteem has joined #ruby
ecksit has quit [Ping timeout: 246 seconds]
seoaqua has joined #ruby
lggr has joined #ruby
karstensrage has joined #ruby
gmci has quit [Ping timeout: 255 seconds]
karstensrage is now known as Guest26275
gmci has joined #ruby
lot49 has quit [Quit: Lost terminal]
ryanf has quit [Quit: leaving]
snorkdude has quit [Remote host closed the connection]
mark_ is now known as voodoofish
duracrisis has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
Jacob_ has joined #ruby
ElorTegle has joined #ruby
Jacob_ has quit [Remote host closed the connection]
waxjar has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
<ElorTegle> sorry if this seems to be a weird question but i just started learning ruby and im figuring out basic i/o
<ElorTegle> For example: print ("whats your name: ")
<ElorTegle> name = gets()
<ElorTegle> puts("your name is #{name}")
<ElorTegle> but it never seems to want to accept my input
<ElorTegle> do i need to string it?
<matti> ElorTegle: STDIO.gets
<ElorTegle> thanks!
<matti> ;]
<matti> gets() is very C/C++ like ;]
<burgestrand> And STDIO does not exist
<ElorTegle> #stdio ;)
<burgestrand> Should probably be STDIN, and in that case you probably want $stdin instead, even so, just gets should work fine.
<matti> LOL
<matti> IN, yes.
<matti> Was thinking about C
<matti> Haha
<burgestrand> ;)
baroquebobcat has quit [Quit: baroquebobcat]
Takehiro has joined #ruby
<burgestrand> ElorTegle: your code as shown ought to work.
<ElorTegle> hmm then it might just be my installation
Banistergalaxy has joined #ruby
<burgestrand> ElorTegle: what happens?
<burgestrand> ElorTegle: from where is this run?
<ElorTegle> I executed it from Redcar
<ElorTegle> and I also tried to irb the file
<burgestrand> ElorTegle: did you try to ruby the file?
<ElorTegle> hmm did not try that... :/
syamajala has quit [Remote host closed the connection]
ElorTegle has quit []
lggr has quit [Ping timeout: 244 seconds]
Takehiro has quit [Ping timeout: 260 seconds]
TomJ has quit [Quit: TomJ]
tommyvyo has quit [Quit: Computer has gone to sleep.]
gmci has quit [Ping timeout: 248 seconds]
lggr has joined #ruby
nari_ has joined #ruby
gmci has joined #ruby
Elico1 has quit [Quit: elico1]
radic has quit [Disconnected by services]
radic_ has joined #ruby
seanlee has joined #ruby
radic_ is now known as radic
raul782 has joined #ruby
AndChat| has joined #ruby
gmci has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 248 seconds]
seoaqua has quit [Ping timeout: 246 seconds]
icole has joined #ruby
Forevernade has joined #ruby
Banistergalaxy has quit [Ping timeout: 244 seconds]
AndChat| has quit [Ping timeout: 252 seconds]
lggr has joined #ruby
beneggett has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
duracrisis__ has joined #ruby
Kovensky is now known as Kov|abx
duracrisis__ has quit [Changing host]
duracrisis__ has joined #ruby
duracrisis has quit [Killed (adams.freenode.net (Nickname regained by services))]
duracrisis__ is now known as duracrisis
Banistergalaxy has joined #ruby
thunderstrike has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
raul782 has quit [Remote host closed the connection]
yshh has joined #ruby
diegoviola has quit [Quit: leaving]
lggr has joined #ruby
roadt has quit [Ping timeout: 245 seconds]
elico has joined #ruby
tagrudev has joined #ruby
tagrudev has quit [Read error: Connection reset by peer]
ewag has joined #ruby
wez_ has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
gmci has joined #ruby
duracrisis has quit [Quit: Leaving]
Guest26275 has quit [Remote host closed the connection]
<swarley> in sinatra
Guest26275 has joined #ruby
<swarley> is there a way to get url variables like ?var='test'
asshopo has quit [Read error: Connection reset by peer]
asshopo has joined #ruby
dmiller has joined #ruby
lggr has joined #ruby
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
duracrisis has joined #ruby
fteem has quit [Ping timeout: 255 seconds]
Nisstyre-laptop has joined #ruby
wez_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
wez_ has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
Guest26275 is now known as karstensrage
xyzodiac has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
Cache_Money has quit [Read error: Connection reset by peer]
orospakr has quit [Excess Flood]
Cache_Money has joined #ruby
orospakr has joined #ruby
BMF has quit [Remote host closed the connection]
Pochacco has quit [Quit: Pochacco]
wez_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
lggr has quit [Ping timeout: 244 seconds]
Takehiro has joined #ruby
Banistergalaxy has quit [Ping timeout: 252 seconds]
lggr has joined #ruby
Takehiro has quit [Ping timeout: 248 seconds]
R3dy has joined #ruby
Cache_Money1 has joined #ruby
fish_ has quit [Quit: switching clients]
xyzodiac has joined #ruby
Cache_Money has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 252 seconds]
dpk has quit [Quit: Asleep at the keyboard.]
lggr has joined #ruby
wpaulson has joined #ruby
Banistergalaxy has joined #ruby
n_blownapart has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
Spooner has quit [Read error: Connection reset by peer]
n_blownapart has quit [Remote host closed the connection]
MissionCritical has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
jrunning has joined #ruby
macmartine has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
rakl has quit [Ping timeout: 246 seconds]
robertotauille has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
rakl has joined #ruby
lggr has joined #ruby
raul782 has joined #ruby
davejacobs has joined #ruby
Solnse has joined #ruby
murz has joined #ruby
<murz> hi, i've seen classes define methods as def meth(param) but I've also seen def self.meth(param)... what is the difference? or is there one?
lggr has quit [Ping timeout: 240 seconds]
MissionCritical has joined #ruby
davejacobs has left #ruby [#ruby]
reset has joined #ruby
lggr has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
reset has quit [Client Quit]
jgwong has quit [Ping timeout: 240 seconds]
Guest_ has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
Z0idberg has quit [Quit: Leaving]
tgraham has quit [Quit: Leaving...]
dwon has quit [Ping timeout: 245 seconds]
rakunHo has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
Banistergalaxy has joined #ruby
robertotauille has quit [Quit: Leaving...]
lggr has joined #ruby
tgraham has joined #ruby
tommyvyo has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
Takehiro has joined #ruby
dwon has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
thunderstrike has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 248 seconds]
<TTilus> murz: former is implicit and the later is explicit context
Takehiro has joined #ruby
<TTilus> murz: if those are inside a class Foo; ...; end
lggr has joined #ruby
<TTilus> murz: former will be instance method and later class method
<TTilus> murz: the former you use: foo = Foo.new; foo.meth
<TTilus> murz: and the later Foo.meth
<murz> ah got it. thank you
<TTilus> murz: def self.meth is not "magical" in the sense you can replase self with any other method
<TTilus> s/method/object/
lggr has quit [Ping timeout: 260 seconds]
Bosox20051 has joined #ruby
hakunin has joined #ruby
AdamSeabrook1 has joined #ruby
lggr has joined #ruby
maletor has joined #ruby
ohdae has joined #ruby
n_blownapart has joined #ruby
jrunning has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 260 seconds]
<n_blownapart> [6] pry(main)> m = /((a)((b)c))/.match("abc")
<n_blownapart> => #<MatchData "abc" 1:"abc" 2:"a" 3:"bc" 4:"b">
<n_blownapart> hi when I do m.length it returns 5. what does the count refer to? thanks ^^
oldB has joined #ruby
oldB has left #ruby [#ruby]
noyb has joined #ruby
lggr has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
vitor-br has quit [Ping timeout: 245 seconds]
<swarley> are there any libraries that parse this configuration format? http://www.centos.org/docs/2/rhl-rg-en-7.2/s1-bind-configuration.html
<swarley> its called "BIND"
macmartine has joined #ruby
cjs226 has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 255 seconds]
n_blownapart has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
yshh has joined #ruby
bigmcq77 has quit [Quit: Computer has gone to sleep.]
Banistergalaxy has quit [Ping timeout: 246 seconds]
tgraham has quit [Quit: Leaving...]
lggr has joined #ruby
parzorep has quit [Quit: parzorep]
gmci has quit [Quit: Computer has gone to sleep.]
lurraca has joined #ruby
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
colinbm has joined #ruby
uris has quit [Quit: Lost terminal]
lggr has quit [Ping timeout: 255 seconds]
techsilo has joined #ruby
lggr has joined #ruby
colinbm has quit [Quit: colinbm]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
bradleyprice has joined #ruby
icole has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 244 seconds]
statarb3 has quit [Ping timeout: 246 seconds]
daniel_hinojosa has joined #ruby
lggr has joined #ruby
ohdae has quit [Quit: leaving]
sterNiX has quit [Quit: Lagging Off]
tommyvyo has quit [Quit: Computer has gone to sleep.]
JohnBat26 has joined #ruby
seoaqua has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
Takehiro has quit [Remote host closed the connection]
<Guest_> Can someone explain what I'm doing wrong? Just trying to use irb to play around with some ruby: http://cl.ly/image/333G2H0u432P
<Paradox> its not load
<Paradox> its require
<Paradox> load does different things
lggr has joined #ruby
sagax has quit [Quit: Ухожу я от вас]
<Guest_> Hmm, that doesn't work either: http://cl.ly/image/3c0r0Y313A2j
Hanmac has quit [Quit: Leaving.]
icole has joined #ruby
yshh has quit [Remote host closed the connection]
hbpoison has joined #ruby
<Paradox> oh
<Paradox> dur
Pochacco has joined #ruby
<Paradox> because games is specific to the app.rb block
<Paradox> stick it in a class
<Paradox> or a module
lggr has quit [Ping timeout: 260 seconds]
tommyvyo has joined #ruby
lggr has joined #ruby
ananthakumaran has joined #ruby
cjs226 has joined #ruby
hbpoison has quit [Ping timeout: 240 seconds]
murz has quit [Quit: Linkinus - http://linkinus.com]
Erfankam has joined #ruby
rocketLover has joined #ruby
rocketLover has quit [Client Quit]
answer_42 has joined #ruby
Hanmac has joined #ruby
bradleyprice has quit [Remote host closed the connection]
icole has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 246 seconds]
AlbireoX has quit [Read error: Connection reset by peer]
icole has joined #ruby
AlbireoX has joined #ruby
drkfiber has joined #ruby
Erfankam has quit [Remote host closed the connection]
<drkfiber> hi
cjs226 has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
<Gate> hello
Erfankam has joined #ruby
dmiller has quit [Remote host closed the connection]
t0rc has quit [Quit: WeeChat 0.3.8]
dmiller_ has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
dmiller_ has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 240 seconds]
stan_man_can has joined #ruby
<stan_man_can> Anybody know of a good ruby gem for google maps api?
Chryson has quit [Quit: Leaving]
lggr has joined #ruby
kiyoura` has quit [Quit: Leaving]
Takehiro has joined #ruby
dhackner has joined #ruby
<dhackner> hi all!
dhackner has quit [Remote host closed the connection]
Fretta has quit [Quit: Fretta]
duracrisis has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 256 seconds]
slicslak has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
ipoval has quit [Quit: ipoval]
techsilo has quit [Quit: Leaving]
roadt has joined #ruby
Banistergalaxy has joined #ruby
AlbireoX has quit [Remote host closed the connection]
AlbireoX has joined #ruby
robustus has joined #ruby
yshh has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
AlbireoX has quit [Ping timeout: 246 seconds]
daniel_- has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
lkba has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 248 seconds]
kryl99_ has joined #ruby
dmiller has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
yshh has quit [Remote host closed the connection]
lggr has joined #ruby
nightfalcon has quit [Quit: leaving]
Banistergalaxy has quit [Ping timeout: 256 seconds]
dmiller has quit [Ping timeout: 260 seconds]
kryl99_ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
freeayu has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
lggr has joined #ruby
rakunHo has quit [Remote host closed the connection]
Cache_Money1 has quit [Read error: Connection reset by peer]
Cache_Money1 has joined #ruby
kuzushi_ has quit [Ping timeout: 256 seconds]
Banistergalaxy has joined #ruby
xorgnak has joined #ruby
raul782 has quit [Remote host closed the connection]
Jackneill has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
Jackneill is now known as Guest71256
lggr has joined #ruby
beachandbytes has quit [Ping timeout: 252 seconds]
beachandbytes has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
Banistergalaxy has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
seoaqua has quit [Ping timeout: 255 seconds]
R3dy has quit [Ping timeout: 244 seconds]
lggr has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
Banistergalaxy has joined #ruby
drkfiber has quit [Ping timeout: 244 seconds]
daniel_hinojosa has quit [Quit: Leaving.]
lggr has quit [Ping timeout: 248 seconds]
swarley has quit [Read error: Operation timed out]
drkfiber has joined #ruby
lggr has joined #ruby
fantazo has quit [Remote host closed the connection]
bricker has joined #ruby
vectorshelve has joined #ruby
<vectorshelve> Please help me with this doubt https://gist.github.com/3806179
dmiller has joined #ruby
havenn has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
drkfiber has quit [Quit: Reconnecting]
Guest_ has quit [Quit: Computer has gone to sleep.]
drkfiber has joined #ruby
vectorshelve has quit [Quit: Page closed]
lggr has joined #ruby
yshh has joined #ruby
arturaz has joined #ruby
drkfiber has quit [Client Quit]
Hanmac has joined #ruby
havenn has quit [Remote host closed the connection]
beachandbytes has quit [Ping timeout: 255 seconds]
dmiller has quit [Ping timeout: 245 seconds]
beachandbytes has joined #ruby
ryanf has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
AdamSeabrook1 has quit [Quit: Leaving.]
bricker has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
AndChat| has joined #ruby
nightfalcon has joined #ruby
mxweas has joined #ruby
Banistergalaxy has quit [Ping timeout: 255 seconds]
triptec has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
AndChat| has quit [Ping timeout: 248 seconds]
lggr has joined #ruby
timonv has joined #ruby
ryanf has quit [Quit: broken pipes |||]
lggr has quit [Ping timeout: 245 seconds]
ryanf has joined #ruby
rakl has quit [Quit: sleeping]
triptec has quit [Ping timeout: 252 seconds]
Banistergalaxy has joined #ruby
lggr has joined #ruby
ij has joined #ruby
ij has quit [Changing host]
ij has joined #ruby
mxweas has quit [Quit: Leaving...]
saschagehlich has joined #ruby
saschagehlich has quit [Read error: Connection reset by peer]
saschagehlich has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Quit: broken pipes |||]
lggr has quit [Ping timeout: 246 seconds]
freeayu has quit [Remote host closed the connection]
lggr has joined #ruby
wallerdev has quit [Quit: wallerdev]
JarJar has joined #ruby
aBound has joined #ruby
Cache_Money1 has quit [Ping timeout: 245 seconds]
iCEAGE has joined #ruby
aBound has quit [Quit: Leaving]
eldariof has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
xbayrockx has quit [Ping timeout: 256 seconds]
bobbbo has joined #ruby
lggr has joined #ruby
skogis has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
xbayrockx has joined #ruby
awestroke has joined #ruby
tgraham has joined #ruby
Hanmac has quit [Remote host closed the connection]
Takehiro has quit [Remote host closed the connection]
dmiller has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
A124 has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
Companion has quit [Quit: Poweroff]
dmiller has quit [Ping timeout: 245 seconds]
sixtenei1hty has quit [Ping timeout: 272 seconds]
sixteneighty has joined #ruby
xorgnak has quit [Remote host closed the connection]
g-ram has quit [Quit: Computer has gone to sleep.]
pygmael has quit [Quit: pygmael]
<shevy> long live ruby!
haxrbyte has joined #ruby
bsilwal has joined #ruby
lggr has joined #ruby
chimay has joined #ruby
arkham has joined #ruby
beachandbytes has quit [Ping timeout: 240 seconds]
Takehiro has joined #ruby
Hanmac has joined #ruby
relix has joined #ruby
ryanf has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
sepp2k has joined #ruby
tgraham has quit [Quit: Leaving...]
AndChat| has joined #ruby
Banistergalaxy has quit [Ping timeout: 245 seconds]
AndChat| has quit [Ping timeout: 245 seconds]
L1 has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
LouisGB has joined #ruby
roadt has quit [Ping timeout: 256 seconds]
ryanf has quit [Quit: leaving]
cantonic has joined #ruby
Banistergalaxy has joined #ruby
gmg85 has joined #ruby
vlad_starkov has joined #ruby
Jork1 has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
<gmg85> I'd like to have my console based ruby application take over the enter terminal window..
<gmg85> any ideas?
<gmg85> the application is to have a bunch of menu items...that are clickable
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
<gmg85> or that can be selected by moving the cursor to the location of a menu item and pressing enter
darthdeus has joined #ruby
arkham has quit [Quit: WeeChat 0.3.8]
lggr has joined #ruby
cantonic has quit [Quit: cantonic]
<gmg85> though looking at the program info...it looks like it uses emacs to accomplish that..
elico has quit [Quit: elico]
kjellski has joined #ruby
haxrbyte has quit [Ping timeout: 240 seconds]
arkham has joined #ruby
<Mon_Ouie> Thinking of Xiki?
moshee has quit [Ping timeout: 256 seconds]
AndChat| has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 245 seconds]
<gmg85> Mon_Ouie: hmm...let me check that out
und3f has joined #ruby
<Mon_Ouie> I just thought that was the program you were referring to
<Mon_Ouie> (An Emacs extension)
Banistergalaxy has quit [Ping timeout: 252 seconds]
lggr has joined #ruby
<gmg85> Mon_Ouie: what i want is to have my console program occupy the entire screen
<gmg85> and have a custom line at the bottom for input
<Mon_Ouie> Well, you can do that with ncurses (or similar libraries)
<gmg85> kinda like vim last line mode..
<gmg85> but one that doesnt go away
<Mon_Ouie> They work by figuring out what the terminal is, and inserting magic codes in the output depending on that.
<gmg85> is there a way to get the size of the terminal screen from ruby and disable the scrollbars?
reset has joined #ruby
<gmg85> and to perhaps print text starting at a particiular x,y coordinate?
<Mon_Ouie> Scrollbars depend on the terminal settings, I don't think any library can remove them
<Mon_Ouie> The rest is easy to do, you could even do it just with ansi escape codes
icole has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<Mon_Ouie> And io/console (part of stdlib since 1.9.3) to retrieve information like terminal size
sixteneighty has quit [Ping timeout: 246 seconds]
<gmg85> nice
<shevy> cool
ij has quit [Read error: Connection reset by peer]
Companion has joined #ruby
Criztian has joined #ruby
zii has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
Erfankam has quit [Quit: Leaving.]
dmiller has joined #ruby
lggr has joined #ruby
atmosx has joined #ruby
cantonic has joined #ruby
tommyvyo has joined #ruby
darthdeus has quit [Quit: Linkinus - http://linkinus.com]
dmiller has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 260 seconds]
Banistergalaxy has joined #ruby
AndChat| has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 245 seconds]
AndChat| has joined #ruby
sixteneighty has joined #ruby
Russell^^ has joined #ruby
arkham has quit [Quit: WeeChat 0.3.8]
Banistergalaxy has quit [Ping timeout: 244 seconds]
arkham has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
Banistergalaxy has joined #ruby
lggr has joined #ruby
emsilva has quit [Ping timeout: 260 seconds]
Hanmac has quit [Remote host closed the connection]
kjellski_ has joined #ruby
jimeh4 has joined #ruby
cantonic_ has joined #ruby
Smoth has joined #ruby
vlad_starkov has joined #ruby
jgrevich has quit [Quit: jgrevich]
AndChat| has quit [Ping timeout: 244 seconds]
bsilwal1 has joined #ruby
triptec has joined #ruby
bsilwal1 has left #ruby [#ruby]
kjellski has quit [Ping timeout: 246 seconds]
cantonic has quit [Ping timeout: 252 seconds]
cantonic_ is now known as cantonic
bsilwal has quit [Ping timeout: 244 seconds]
baphled has joined #ruby
jimeh4 has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 245 seconds]
DrShoggoth has quit [Ping timeout: 245 seconds]
Hamed-R has joined #ruby
Hamed-R has quit [Changing host]
Hamed-R has joined #ruby
chambwez has joined #ruby
<chambwez> Can anyone help out with a newbie test/minitest problem I'm having?
lggr has quit [Ping timeout: 246 seconds]
iCEAGE has quit [Ping timeout: 245 seconds]
seoaqua has joined #ruby
Hanmac has joined #ruby
lggr has joined #ruby
arietis has joined #ruby
<JonnieCache> chambwez: im not a minitest person but whats the problem
icole has joined #ruby
<A124> chambwez: No, unless you tell us what.
<chambwez> I'm having problems getting any tests to run, so to check that out I produced a very basic test (it's a silly example just to highlight the issue I'm having).
<chambwez> setup isn't getting called and neither are the methods
<JonnieCache> hmmm i dont know enough about minitest to help you im afraid
<JonnieCache> i was thinking it might have been a more general testing question
JarJar has quit [Quit: Leaving]
<chambwez> No worries, mate. Thanks for looking. I'm sure it's something daft on my part.
<JonnieCache> check if theres a minitest irc channel
<JonnieCache> probably is
<chambwez> good call
lggr has quit [Ping timeout: 246 seconds]
fteem has joined #ruby
roadt has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
icole has quit [Ping timeout: 240 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
lggr has joined #ruby
reset has quit [Quit: Leaving...]
<atmosx> ello people
Eplemosen has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
pskosinski has joined #ruby
crodas has quit [Ping timeout: 245 seconds]
Criztian has quit [Remote host closed the connection]
samphippen has joined #ruby
<chambwez> no minitest irc chan by the looks of things. will wait until everyone wakes up ;)
lggr has joined #ruby
gvz has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
<arkham> chambwez: probably the methods must begin with "test_"?
<arkham> never used minitest though, so I may be wrong
Mon_Ouie has joined #ruby
<chambwez> arg! <3 thanks ma
<chambwez> man*
<chambwez> yeah, that's got it - what a newb
<arkham> don't worry, everybody has to begin somewhere
Jork1 has quit [Read error: Connection reset by peer]
<chambwez> that we do, cheers again man
Jork1 has joined #ruby
workmad3 has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
darthdeus has joined #ruby
thunderstrike has joined #ruby
margle has joined #ruby
lggr has joined #ruby
tk_ has quit [Ping timeout: 240 seconds]
Takehiro has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 260 seconds]
Takehiro has joined #ruby
<bobbbo> if I want the "top" x records from a table in rails am I best off just passing in the SQL for SELECT …. ORDER BY DESC LIMIT x? Or is there some sort of magic/indexing tha allows me to do this in a less horrible way?
Bosox20051 has quit [Ping timeout: 244 seconds]
pskosinski has quit [Remote host closed the connection]
chambwez has quit [Quit: chambwez]
<arkham> bobbbo: Books.limit(x) ?
tk_ has joined #ruby
crodas has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
<bobbbo> atm I'm doing Books.find(:all, :limit => 5, :order=> 'created_at desc') or similar
<bobbbo> I guess what I really want is an order_by index if those were real ^_^
<arkham> oh I see, are you using rails 2?
dmiller has joined #ruby
<bobbbo> but equally .limit would work
<bobbbo> I think I've answer my own question, thanks arkham (unless .limit does something crazy I don't know about ofcourse)
pskosinski has joined #ruby
<arkham> bobbbo: you could write Book.limit(5).order("created_at desc")
<bobbbo> (of course above is same as doing Books.order.limit right?
<bobbbo> ye
<arkham> and that thing could be a scope
<arkham> so you just call Book.newest
* bobbbo nods
<bobbbo> is that the main benefit of the rails 3 way?
<arkham> basically yes
<bobbbo> I do love named scopes
<arkham> the thing I find lovely is that you can take two named scopes and & them
lggr has joined #ruby
<arkham> i.e. Book.newest & Book.sold
dmiller has quit [Ping timeout: 245 seconds]
<bobbbo> & as in intersection?
<arkham> and activerecord will create the sql union query for you
<arkham> yep
<arkham> it overrides the array & method
aces1up has quit [Remote host closed the connection]
<bobbbo> hmm that is loverly
aces1up has joined #ruby
Pochacco has quit [Quit: Pochacco]
mikepack has quit [Remote host closed the connection]
und3f has quit [Quit: Leaving.]
<bobbbo> I do like ruby, it does some nice things
<bobbbo> just wish I had occasion to use it more
thunderstrike has quit [Remote host closed the connection]
<bobbbo> and I didn't know arrays had such nice methods
<burgestrand> arkham: rails does not override the array & method, and Book.newest is not an array, it’s a relation, which is why rails do not need to override the & method
<bobbbo> well thanks arkham, given me some nice reading :)
<burgestrand> ActiveRecord::Relation, to be specific :)
daniel_- has joined #ruby
LouisGB has quit []
<burgestrand> which is why Book.newest.all & Book.sold won’t work
hiroyuki has quit [Read error: Connection reset by peer]
Bosox20051 has joined #ruby
<bobbbo> does it make sense to ever want to go array => relation?
Aaaarg has joined #ruby
hiroyuki has joined #ruby
Aaaarg has quit [Excess Flood]
lggr has quit [Ping timeout: 245 seconds]
hiroyuki_ has joined #ruby
<arkham> burgestrand: of cours
AdamSeabrook1 has joined #ruby
<burgestrand> bobbbo: once you are an array, you have lost information that could make you a useful relation
<arkham> thinking about it, the example was pretty stupid too
<arkham> because you could have done it with Book.newest.sold
<arkham> the & is useful when you are mixing scopes
AdamSeabrook1 has left #ruby [#ruby]
<burgestrand> bobbbo: the relation contains information of what fields to select, what tables to merge, the ordering and all that you specify for your scope, once you turn it into an array (.all) that information is gone, because array does not contain that information
<burgestrand> s/merge/join/
<bobbbo> makes sense
<bobbbo> any good examples for when you might want to & scopes?
hiroyuki has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
<burgestrand> bobbbo: say you have an object, maybe a comment or something like that
<burgestrand> bobbbo: the comment itself has tags, so you want to load those together with the comment, but you want the tags to appear in a specific order, and you want the tag to be enabled and whatnot
<burgestrand> bobbbo: you could write a scope on Comment that merges with a scope from Tag, to reuse a previous scope from Tag with your new scope
seanlee has quit [Remote host closed the connection]
icole has joined #ruby
<burgestrand> bobbbo: so, maybe, Comment.includes(:tags).merge(Tag.not_deleted)
triptec has quit [Ping timeout: 245 seconds]
fteem has quit [Ping timeout: 246 seconds]
<burgestrand> or whatever you have it. You don’t need to merge scopes that often, but when you do it can be a nice little feature
Xeago has joined #ruby
<bobbbo> and here the merges is analogous to the & right?
<arkham> bobbbo: the simplest I can think of is: you have an author with many books. You want to find all the authors with at least a book, so you do Author.joins(:books).group("authors.id")
<arkham> now you want to find the authors with at least a book that is coming out this month
<arkham> so you do: Author.joins(:books).group("author.id") & Book.coming_out_this_month
<bobbbo> hmm ok
hiroyuki_ has quit [Read error: Connection reset by peer]
<bobbbo> but that will hit the database twice?
<bobbbo> I would just do that in SQL normally
<JonnieCache> that is doing it in sql
<bobbbo> ohhh
<bobbbo> ok ok
<JonnieCache> it merges the scopes and produces new sql that covers both
hiroyuki has joined #ruby
<bobbbo> nice
triptec has joined #ruby
<bobbbo> so its just great syntactic sugar rather than actually doing anything different
<bobbbo> I like it
<JonnieCache> its great if you do it in a loop for building up queries from "advanced search" style forms
<bobbbo> yea I can imagine
icole has quit [Ping timeout: 244 seconds]
<bobbbo> does seem rather useful to chain things along
lggr has quit [Ping timeout: 246 seconds]
<bobbbo> ok thanks all 3
atmosx has quit [Quit: WeeChat 0.3.8]
<bobbbo> before I was thinking it was essentially doing it post lookup, but makes more sense if I think about it manipulating the query :)
<JonnieCache> you can do even cleverer things if you interact with arel directly
seoaqua has quit [Ping timeout: 260 seconds]
elico has joined #ruby
thecreators has joined #ruby
lggr has joined #ruby
replore_ has joined #ruby
slainer68 has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
margle has quit [Quit: Computer has gone to sleep.]
gmg85 has quit [Ping timeout: 248 seconds]
elico has quit [Quit: elico]
dpk has joined #ruby
lggr has joined #ruby
gmg85 has joined #ruby
Virunga has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
bsilwal has joined #ruby
jenrzzz has joined #ruby
lggr has joined #ruby
<bsilwal> how do I pass the class type as parameter in the function within the same class like this java snippet ? http://pastie.org/private/5z08lqeemsxwddvuupv6g
Forevernade has quit [Remote host closed the connection]
icole has joined #ruby
<bsilwal> I am getting this problem http://pastie.org/private/b1jy4oo7avgik5r03snjkq
canton7 has joined #ruby
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
pskosinski has quit [Read error: Connection reset by peer]
pskosinski has joined #ruby
Solnse has quit [Ping timeout: 260 seconds]
<arkham> bsilwal: remove the @next on line 2?
lggr has quit [Ping timeout: 245 seconds]
robertotauille has joined #ruby
seoaqua has joined #ruby
<bsilwal> but thats not the cause of the problem is it?
icole has quit [Ping timeout: 244 seconds]
Virunga has quit [Remote host closed the connection]
robertotauille has quit [Client Quit]
mucker has joined #ruby
lggr has joined #ruby
enricostn has joined #ruby
<enricostn> hi, using RVM I have this problem http://stackoverflow.com/questions/9434002/how-to-solve-ruby-installation-is-missing-psych-error but the solution doesn't help
DrShoggoth has joined #ruby
dmiller has joined #ruby
seoaqua has quit [Ping timeout: 260 seconds]
<enricostn> I've dove rvm pkg install libyaml and reinstalled ruby
TomJ has quit [Quit: TomJ]
<enricostn> but I still get that warning
<enricostn> *done
twain83 has joined #ruby
<twain83> hello i've got problem with installation ruby on apache is there anyone who can help me i've already installed ruby rails and rvm
<burgestrand> bsilwal: you don’t do that kind of thing in ruby.
<burgestrand> bsilwal: you just call it n, not Node n.
workmad3 has joined #ruby
dmiller has quit [Ping timeout: 244 seconds]
Xeago_ has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
<bsilwal> burgestrand: yep, so I pass an object from outside.
<burgestrand> bsilwal: I don’t follow.
<bsilwal> well when I create an object of the class outside the class, I call the function and pass another object of the same class as parameter.
<burgestrand> enricostn: perhaps the installed libyaml could be for another architecture than the one you install ruby for.
<burgestrand> bsilwal: sure, that is fine.
Xeago has quit [Ping timeout: 246 seconds]
<burgestrand> enricostn: here’s an answer that could help with that, if that is the case: http://stackoverflow.com/a/11373417
<enricostn> burgestrand: does that should fit for an Archlinux VPS on Linode?
burgestrand1 has joined #ruby
<enricostn> burgestrand: rvm pkg install libyaml doesn't give me any warning about my architecture
arturaz has quit [Remote host closed the connection]
lggr has joined #ruby
k_89 has joined #ruby
elico has joined #ruby
<burgestrand1> enricostn: it wouldn’t necessarily give you a warning (why would it? you might want to use 64bit), but if you were using ruby in 32bit and have libyaml in 64bit, ruby would be unable to load libyaml
<burgestrand1> enricostn: it’s just a theory, I haven’t actually seen your problem before
burgestrand1 has quit [Client Quit]
burgestrand has quit [Ping timeout: 246 seconds]
bapa has quit [Ping timeout: 252 seconds]
<enricostn> anyone using RVM on a linode VPS here? I've problems with libyaml...
lggr has quit [Ping timeout: 245 seconds]
TomJ has joined #ruby
unrar has joined #ruby
lggr has joined #ruby
Smoth has quit [Remote host closed the connection]
bapa has joined #ruby
Xeago has joined #ruby
Xeago_ has quit [Ping timeout: 260 seconds]
TomJ has quit [Quit: TomJ]
workmad3 has quit [Ping timeout: 240 seconds]
<unrar> Hi all
lggr has quit [Ping timeout: 246 seconds]
senny has joined #ruby
hsbt_away is now known as hsbt
VegetableSpoon has joined #ruby
lggr has joined #ruby
haxrbyte has joined #ruby
bapa has quit [Ping timeout: 256 seconds]
gmg85 has quit [Quit: ChatZilla 0.9.89 [Firefox 10.0.5/20120622141109]]
examancer has quit [Ping timeout: 264 seconds]
freeayu has joined #ruby
<shevy> hi unrar
<shevy> can you unrar something
roadt has quit [Ping timeout: 245 seconds]
ZubKonst has joined #ruby
<shevy> enricostn I dont have RVM nor linode. with libyaml, I download http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz and compile into /usr as --prefix, then I compile ruby from source
roadt has joined #ruby
margle has joined #ruby
margle has quit [Client Quit]
<unrar> haha
<unrar> yay
lggr has quit [Ping timeout: 240 seconds]
lggr has joined #ruby
ZubKonst_ has quit [Ping timeout: 256 seconds]
Axsuul has quit [Ping timeout: 252 seconds]
<bsilwal> how do I do count++ in ruby ?
<arkham> count += 1
<shevy> :)
<love_color_text> with your fingers
<Mon_Ouie> More often, you use another way to loop through integers
<Mon_Ouie> Integer#upto and #downto, Integer#step, Range#each, Range#step, …
<arkham> 4.times { eat(cake) }
burgestrand has joined #ruby
<twain83> hello i've got problem with installation ruby on apache is there anyone who can help me i've already installed ruby rails and rvm
<arkham> twain83: what's the problem?
ipoval has joined #ruby
<love_color_text> besides the fact that you are the demons spawn
<love_color_text> grr i been watching too much of whatever that show is on adult swim
nightfalcon has quit [Quit: leaving]
lggr has quit [Ping timeout: 244 seconds]
RegEchse has joined #ruby
bapa has joined #ruby
niklasb has joined #ruby
lggr has joined #ruby
haxrbyte has quit [Remote host closed the connection]
icole has joined #ruby
<enricostn> shevy: thank you but I need to acheive that on RVM ;)
<enricostn> anyone could help me with libyaml in RVM?
JohnBat26 has quit [Ping timeout: 246 seconds]
icole has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 245 seconds]
k_89_ has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
kirun has joined #ruby
k_89 has quit [Disconnected by services]
seoaqua has joined #ruby
k_89_ is now known as k_89
Jay_Levitt has quit [Quit: Jay_Levitt]
Jay_Levitt has joined #ruby
<arkham> enricostn: which OS are you workingon?
Hanmac has joined #ruby
<enricostn> arkham: Archlinux
<enricostn> on a Linode VPS
<love_color_text> is there a construct similar to %w{foo bar cow dog} except one that produces an array of symbols rather than strings?
ianblenke1 has quit [Ping timeout: 244 seconds]
<enricostn> arkham: I still get that psych warning :(
<Mon_Ouie> Except for the regular array literal syntax, no
<love_color_text> ok. ty
lggr has joined #ruby
hsbt has quit [Ping timeout: 260 seconds]
<bsilwal> I have a variable which holds string like getNext().getNext().getNext().getData()
<bsilwal> now I need to use data stored in the variable and call it using an object
<bsilwal> like obj.getNext().getNext().getNext().getData()
daniel_- has quit [Ping timeout: 245 seconds]
<bsilwal> how do I achieve this?
seoaqua has quit [Ping timeout: 252 seconds]
Spooner has joined #ruby
<bsilwal> because if I directly do obj.variable_name it gives me noMethodError
Jork1 has quit [Quit: Jork1]
haxrbyte has joined #ruby
ipoval has quit [Remote host closed the connection]
hsbt has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
fyolnish has joined #ruby
<arkham> enricostn: I'm sorry but I have no idea
Dwarf has quit [Quit: BNC shit itself]
<arkham> maybe you could try to install libyaml separately from rvm?
Dwarf has joined #ruby
<arkham> there is a libyaml package AFAIK
L1 has quit [Ping timeout: 256 seconds]
* arkham is an archlinux user, sometimes
Dwarf has quit [Client Quit]
Dwarf has joined #ruby
hsbt is now known as hsbt_away
haxrbyte has quit [Remote host closed the connection]
hsbt_away is now known as hsbt
tgraham has joined #ruby
lggr has joined #ruby
vitor-br has joined #ruby
vlad_starkov has joined #ruby
asteve has joined #ruby
bencaron has joined #ruby
F1skr has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
hsbt has quit [Ping timeout: 244 seconds]
hsbt has joined #ruby
haxrbyte has joined #ruby
lggr has joined #ruby
hsbt is now known as hsbt_away
TomJ has joined #ruby
darthdeu has joined #ruby
hsbt_away is now known as hsbt
ewag has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby
fyolnish has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 245 seconds]
darthdeus has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 260 seconds]
manizzle has quit [Ping timeout: 256 seconds]
fyolnish_ has joined #ruby
champion has joined #ruby
unrar has quit [Remote host closed the connection]
champion has left #ruby [#ruby]
fteem has joined #ruby
lggr has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
arkham has quit [Quit: WeeChat 0.3.8]
tgraham has quit [Quit: Leaving...]
fantazo has joined #ruby
slainer68 has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 252 seconds]
daniel_- has joined #ruby
hsbt has quit [Ping timeout: 255 seconds]
<bsilwal> ah
manizzle has joined #ruby
fteem has quit [Ping timeout: 245 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
hsbt_away has joined #ruby
hsbt_away is now known as hsbt
vlad_starkov has joined #ruby
Takehiro has quit [Remote host closed the connection]
Takehiro has joined #ruby
Takehiro has quit [Remote host closed the connection]
uris has joined #ruby
Takehiro has joined #ruby
daniel_- has quit [Ping timeout: 255 seconds]
haxrbyte has quit [Remote host closed the connection]
hsbt has quit [Ping timeout: 240 seconds]
fyolnish_ has quit [Remote host closed the connection]
icole has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
jasonkuhrt has joined #ruby
Virunga has joined #ruby
fyolnish has joined #ruby
thecreators has quit [Ping timeout: 248 seconds]
<mr-rich> When doing a hash, what's the difference between "=>" and "# =>"?
<Hanmac> #=> is for showing the result ... like:
<Hanmac> 3 + 4 #=> 7
lggr has joined #ruby
icole has quit [Ping timeout: 260 seconds]
<mr-rich> Hanmac: so it IS a comment, then ... ?
awestroke has quit [Remote host closed the connection]
<Hanmac> yeah
<mr-rich> Hanmac: ty
framling_ has quit [Quit: Lost terminal]
framling has joined #ruby
cjs226 has joined #ruby
bluOxigen has joined #ruby
canton7 has quit [Excess Flood]
lggr has quit [Ping timeout: 245 seconds]
roadt has quit [Read error: Connection timed out]
frogprince_mac has joined #ruby
roadt has joined #ruby
thecreators has joined #ruby
lggr has joined #ruby
yakitori has quit [Read error: Connection reset by peer]
hsbt_away has joined #ruby
yakitori has joined #ruby
hsbt_away is now known as hsbt
resuremade has joined #ruby
hsbt is now known as hsbt_away
ltsstar has joined #ruby
hsbt_away is now known as hsbt
vjt has quit [Ping timeout: 272 seconds]
lggr has quit [Ping timeout: 255 seconds]
senny has quit [Remote host closed the connection]
ltsstar has quit [Quit: ltsstar]
resuremade has quit [Ping timeout: 240 seconds]
hsbt has quit [Ping timeout: 245 seconds]
hsbt has joined #ruby
canton7 has joined #ruby
lggr has joined #ruby
resuremade has joined #ruby
resuremade has quit [Changing host]
resuremade has joined #ruby
gvz has quit [Quit: leaving]
hsbt is now known as hsbt_away
TomJ has quit [Quit: TomJ]
bencaron has quit [Quit: bencaron]
ZubKonst_ has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
ZubKonst has quit [Ping timeout: 248 seconds]
seoaqua has joined #ruby
lggr has joined #ruby
bencaron has joined #ruby
ltsstar has joined #ruby
resuremade has quit [Quit: Leaving]
Markvilla has joined #ruby
BMF has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
snorkdude has joined #ruby
snorkdude has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 244 seconds]
senny has joined #ruby
seo has joined #ruby
seo is now known as Guest91241
Guest91241 has quit [Remote host closed the connection]
lggr has joined #ruby
awestroke has joined #ruby
Guedes has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
hekin has joined #ruby
enroxorz-work has quit [Read error: Connection reset by peer]
lggr has joined #ruby
xyzodiac has joined #ruby
hekin has quit [Quit: hekin]
thunderstrike has joined #ruby
fteem has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
Takehiro has quit [Remote host closed the connection]
Eplemosen has quit [Quit: NOPE]
lggr has joined #ruby
lurraca has quit [Quit: This computer has gone to sleep]
bencaron has quit [Quit: bencaron]
waxjar has joined #ruby
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
ZubKonst_ has quit [Ping timeout: 252 seconds]
`brendan has joined #ruby
ZubKonst_ has joined #ruby
<shevy> slow
<shevy> slower
<shevy> RUBY!!!
lggr has quit [Ping timeout: 245 seconds]
<shevy> enricostn ah but you make yourself dependent on RVM. In the Gobolinux like scheme, every program is installed into a versioned directory. So that is like what RVM does, but for all programs anyway.
<shevy> the libyaml crap is annoying though, I always have to recompile ruby, then it psych.rb picks up the new libyaml version
fantazo has quit [Remote host closed the connection]
lggr has joined #ruby
fantazo has joined #ruby
<enricostn> shevy: ehm.. I don't follow you, what I have to do in RVM to fix that issue?
<enricostn> sorry
verto|off is now known as verto
<shevy> I dont think you can. You depend on RVM.
stan_man_can has quit [Quit: stan_man_can]
<enricostn> right, but I see that other people make it to work so I think it's possible to fix it, right?
jamjam has joined #ruby
<enricostn> but that solution doesn't work for me :(
adambeynon has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
<shevy> That error shows up for non-RVM ruby too
<enricostn> I know
<enricostn> have you read the solution?
<shevy> there are many solutions
Hanmac has quit [Ping timeout: 256 seconds]
ananthakumaran has quit [Read error: Connection reset by peer]
<shevy> the one that works for non-RVM rubies is to recompile ruby
ananthakumaran1 has joined #ruby
<shevy> perhaps the other guys just lied when they said it works for RVM too :)
VegetableSpoon has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 248 seconds]
<enricostn> do you think that?
fantazo has quit [Remote host closed the connection]
<shevy> hmm no
<shevy> it depends on how RVM picks up the environment
<shevy> normal ruby source compiles can find an installed libyaml
<shevy> where are your libyaml files?
<shevy> libyaml-0.so.2 libyaml-0.so.2.0.2 libyaml.a libyaml.la libyaml.so
<enricostn> how could I check that?
fantazo has joined #ruby
<shevy> what kind of question is that man!
rippa has joined #ruby
<shevy> how did you install libyaml :P
<shevy> usually in /usr/lib
<enricostn> rvm pkg install libyalm
<shevy> uhm?
<shevy> how does that work?
Beoran_ has joined #ruby
<shevy> you use rvm to manage all your programs?
<enricostn> no, only ruby related
<shevy> ohhhhhh you don't have any .so file right?
<shevy> aaaah
<shevy> then of course that won't work
<shevy> you need the .so files
<enricostn> I think that i I run rvm pkg install libyaml and rvm doesn't rise any error I suppose that it's all ok...
<shevy> no idea, perhaps this is a rvm bug. it should fail when libyaml is not available in that case
lggr has joined #ruby
<enricostn> I'm using Archlinux, maybe there is some package for that
<shevy> there surely is!
<enricostn> but in rvm requirements it doesn't appeat
<shevy> but run this anyway just in case: find / -name libyaml.so
Beoran has quit [Ping timeout: 246 seconds]
<enricostn> /usr/local/rvm/src/yaml-0.1.4/src/.libs/libyaml.so
<enricostn> /usr/local/rvm/usr/lib/libyaml.so
<shevy> aha
<shevy> so it installed the libyaml.so
<shevy> into the strangest path ever :)
<enricostn> oh..
<enricostn> he doesn't ask me :)
<shevy> odd that you use rvm to manage non-ruby things btw
<enricostn> I was just following rvm official guide and I found that warning
<shevy> this would confuse the hell outta me if I'd have to mix it with pacman
<shevy> they advocate to manage things like libyaml via rvm alone?
<Mon_Ouie> If you can use system packages, I wouldn't use RVM for that
<enricostn> ok, so I could remove this from rvm and install it from pacman, right?
<shevy> yeah that would be easier
<Mon_Ouie> (And if all you need is the latest Ruby, I'd even use the pacman version for that one.
<Mon_Ouie> -(
<enricostn> but then RVM would recognize it?
<shevy> or, you can let BOTH pacman AND rvm handle it hahaha ;)
gmci has joined #ruby
<shevy> enricostn, I think it will if it is in /usr/lib
<enricostn> ok I try it right now and report here the result
adambeynon has joined #ruby
Hanmac has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
<enricostn> removed libyaml from rvm, installed with pacman... now reinstalling ruby
<enricostn> I hope it will compile ruby including libyaml
tk_ has quit [Quit: ばいばい]
<shevy> did you look if the file exists? stat /usr/lib/libyaml.so
Takehiro has joined #ruby
bencaron has joined #ruby
<enricostn> you're right... no... when it stop installing ruby I'll check it too
<enricostn> #compiling
<enricostn> while it's compiling... do you ever used capistrano to deploy to an archlinux server?
lggr has joined #ruby
<enricostn> /usr/lib/libyaml.so
<enricostn> /usr/local/rvm/src/yaml-0.1.4/src/.libs/libyaml.so
<enricostn> /usr/local/rvm/usr/lib/libyaml.so
<enricostn> ok, solved!
<enricostn> thank you very much shevy and Mon_Ouie!!!
arkham has joined #ruby
aboven has joined #ruby
<enricostn> now it's the turn for capistrano...
<waxjar> I sort of need a way to define relationships between objects like you would in something like DataMapper, but I don't need the database side of things.
dknight has joined #ruby
<waxjar> is there something easy that allows me to do that, or should i just man up and work with Ruby's own tools?
<shevy> cool
Takehiro has quit [Ping timeout: 240 seconds]
<shevy> enricostn I dont think I ever used capistrano
wallerdev has joined #ruby
<shevy> all the web stuff scares me
<shevy> I still use ruby .cgi scripts :(
<shevy> I just can't get myself to use .ru files... I hate this extension name
Companion has quit [Read error: Connection reset by peer]
emmanuelux has joined #ruby
BMF has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 240 seconds]
Takehiro has joined #ruby
Guedes has quit [Ping timeout: 260 seconds]
Companion has joined #ruby
Inoperable has joined #ruby
<dknight> while compiling ruby I am getting an error at ./configure step: ruby/version.h:2:0: warning: "RUBY_RELEASE_DATE" redefined [enabled by default]
jokar has joined #ruby
lggr has joined #ruby
fyolnish has quit [Remote host closed the connection]
fteem has quit [Remote host closed the connection]
aboven has quit [Remote host closed the connection]
nari_ has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 246 seconds]
mucker has quit [Quit: leaving]
lggr has joined #ruby
b26 has joined #ruby
gnilit has joined #ruby
`brendan has quit [Read error: Connection reset by peer]
b26 is now known as `brendan
ltsstar has quit [Quit: ltsstar]
icole has joined #ruby
Cache_Money has joined #ruby
<gnilit> Hello, could someone help me with: http://pastebin.com/KmDrrT8h please?
<gnilit> It's a very short script.
<gnilit> I'm having trouble with regex.
lggr has quit [Ping timeout: 248 seconds]
<enricostn> shevy: eheh ;)
kuzushi_ has joined #ruby
lggr has joined #ruby
dknight has quit [Quit: bye]
icole has quit [Ping timeout: 260 seconds]
Inoperable has quit [Quit: Rectified]
haxrbyte has joined #ruby
Hamed-R has quit [Quit: Leaving]
CaptainJet has joined #ruby
rburton- has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
<shevy> ok so
fowkes has joined #ruby
<shevy> gnilit, you wanna turn user input like "hello there" into "hElLo tHeRe"
<gnilit> Yeah.
<gnilit> shevy: But it's not turning out so great.
lggr has joined #ruby
<shevy> first, I think your regex is wrong
<gnilit> Yeah, I'm not overly familiar with regex.
<shevy> gnilit, you can test your regex at http://rubular.com/
<gnilit> :x
<shevy> so input your string on the lower side
<shevy> and your regex on the upper
<shevy> then fiddle with it until it works
<shevy> :D
<gnilit> Okay, and how can I modify the case of the matched text?
<fowkes> Hey everyone. I have an issue and I was wondering if anyone could help. http://pastebin.com/dct6SVec
<shevy> gnilit what does the match return?
br4ndon has joined #ruby
<shevy> I do not see what rules you try to apply
<canton7> gnilit, look at \b ?
sphera has quit [Ping timeout: 252 seconds]
<gnilit> Ok, I'll try \b, give me a minute. :F
<canton7> hrm no, \s seems to work as well
<gnilit> The whole 'hello there' string is highlighted blue.
sphera has joined #ruby
<gnilit> All lowercase.
workmad3 has joined #ruby
<canton7> that's weird -- the #upcase doesn't seem to do anything
<canton7> ah, cos the replacing \1 with the match happens *after* the upcase, of course
<shevy> hmm
<canton7> a block should work
Nisstyre-laptop has quit [Remote host closed the connection]
unrar has joined #ruby
unrar has quit [Changing host]
unrar has joined #ruby
<shevy> you can always learn from canton7 :)
<gnilit> So I should use #upcase rather than .upcase?
fyolnish has joined #ruby
vlad_starkov has joined #ruby
<canton7> "hello there".gsub(/[\w\s])([\w\s]?)/){ $1+$2.upcase }
lggr has quit [Ping timeout: 252 seconds]
Forevernade has joined #ruby
<gnilit> Okay, I will give this a try.
<canton7> I won't comment on the regex -- I'm sure there's a neater way of doing this, but can't think what it might be
dpk has quit []
<canton7> surely something like /(.)(.?)/ might work? depends what behaviour exactly you want around punctuation, etc
lggr has joined #ruby
swarley has joined #ruby
<gnilit> I'd like punctuation to be included, but obviously not modified.
<canton7> it won't be modified by #upcase :P
<gnilit> Yeah, I can't think of an upcase '.'.
<gnilit> :P
<gnilit> Got it!
<shevy> hmm an upcased .
<shevy> could look like
<gnilit> input.gsub(/(.)(.?)/){ $1+$2.upcase}
<shevy> 'o'
<gnilit> Brilliant, thanks a million.
<gnilit> :D
<canton7> shevy, heh
cwt has joined #ruby
wchun has quit [Ping timeout: 252 seconds]
<gnilit> Bookmarked Rubular too, thanks for the link!
cwt has left #ruby [#ruby]
<fowkes> Does anyone have any insight into what could be wrong? I'm completely new to this, so I'm stumped. The link again: http://pastebin.com/dct6SVec Thanks.
daniel_hinojosa has joined #ruby
fyolnish has quit [Ping timeout: 240 seconds]
<gnilit> fowkes: I'd love to help, but I'm only a learner too.
<gnilit> ;_;
DrShoggoth has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 248 seconds]
roadt has quit [Ping timeout: 244 seconds]
lggr has joined #ruby
wallerdev has quit [Quit: wallerdev]
daniel_- has joined #ruby
darthdeu has quit [Quit: Linkinus - http://linkinus.com]
vjt has joined #ruby
tommyvyo has joined #ruby
dpk has joined #ruby
<fowkes> gnilit - Thanks. There just doesn't seem to be anyone who can really help. #debian directed me to #git and then #git sort of sent me to #ruby indirectly.
lggr has quit [Ping timeout: 260 seconds]
rburton- has quit [Quit: Linkinus - http://linkinus.com]
<canton7> there's a gitlab google grouip
lggr has joined #ruby
havenn has joined #ruby
<fowkes> canton7 Worth a shot.
workmad3 has quit [Ping timeout: 240 seconds]
replore_ has quit [Remote host closed the connection]
replore has joined #ruby
Y_Ichiro has quit [Ping timeout: 268 seconds]
g-ram has joined #ruby
haxrbyte has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 252 seconds]
Dreamer3 has joined #ruby
bencaron has quit [Quit: bencaron]
Mon_Ouie has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
butblack has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
pk1001100011 has joined #ruby
pskosinski has quit [Read error: Connection reset by peer]
bencaron has joined #ruby
stephenjudkins has joined #ruby
stephenjudkins has quit [Client Quit]
pk1001100011 has quit [Read error: Connection reset by peer]
bencaron has quit [Client Quit]
pskosinski has joined #ruby
S1kx has joined #ruby
S1kx has quit [Changing host]
S1kx has joined #ruby
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
lggr has quit [Ping timeout: 244 seconds]
Markvilla has joined #ruby
zodiak has quit [Ping timeout: 246 seconds]
pskosinski has quit [Read error: Connection reset by peer]
pk1001100011 has joined #ruby
Markvilla has quit [Client Quit]
lggr has joined #ruby
futilegames has joined #ruby
Jork1 has joined #ruby
pk1001100011 has quit [Read error: Connection reset by peer]
nu7hatch has joined #ruby
pskosinski has joined #ruby
nu7hatch has left #ruby [#ruby]
freeayu has quit [Remote host closed the connection]
wpaulson has joined #ruby
kaichanvong has joined #ruby
adeponte has joined #ruby
jamjam has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 248 seconds]
kirun has quit [Read error: Connection reset by peer]
fyolnish has joined #ruby
replore has quit [Remote host closed the connection]
jasonkuhrt has quit [Quit: Leaving...]
lggr has joined #ruby
alek_b_ has quit [Read error: Operation timed out]
Markvilla has joined #ruby
twain83 has quit [Quit: ChatZilla 0.9.89 [Firefox 15.0.1/20120905151427]]
Cache_Money has quit [Quit: Leaving]
alek_b has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
ryanlecompte has joined #ruby
fowkes has left #ruby [#ruby]
chimay has quit [Quit: WeeChat 0.4.0-dev]
zodiak has joined #ruby
chimay has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 255 seconds]
ryanlecompte has quit [Remote host closed the connection]
slainer68 has joined #ruby
yoklov has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lggr has joined #ruby
tommyvyo has joined #ruby
jrajav has joined #ruby
gani has joined #ruby
jgrevich has joined #ruby
jgrevich has quit [Client Quit]
duder has joined #ruby
knirhs has quit [Read error: Connection reset by peer]
duder has quit [Client Quit]
sgupta has joined #ruby
jgrevich has joined #ruby
pac1 has joined #ruby
t0rc has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
maletor has joined #ruby
adeponte has quit [Remote host closed the connection]
AlbireoX has joined #ruby
workmad3 has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
wallerdev has joined #ruby
bricker has joined #ruby
<pac1> I'm looking at a statement in Demo::Application.routes.draw, trying to figure out what each of the elements of the statement are called. match 'Say/hello' => 'say#hello' has four parts. What would you call each part?
VegetableSpoon has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
lggr has joined #ruby
tgraham has joined #ruby
fyolnish has quit [Remote host closed the connection]
shevy has joined #ruby
<havenn> pac1: What do you mean 'four parts'? Method, String, HashRocket, String?
<havenn> pac1: Homework?
<pac1> no. no course, no teacher (except myself)
jonathanwallace has quit [Remote host closed the connection]
<pac1> yes those four parts.
<pac1> ok so match is a method of the class Demo::Application.routes.draw
<pac1> right?
<havenn> pac1: Hard for me to tell without seeing more. Can you post a gist of more code?
linoj has joined #ruby
<havenn> Someone needs to change the recommendation in this channel from pastebin to gist! FTLOG!
Inoperable has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
<pac1> should i make it private or public?
lggr has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<pac1> how long do gists stick around?
<havenn> pac1: Either way, usually I make them public.
<Spaceghostc2c> FOREVER
ryanf has joined #ruby
<Spaceghostc2c> They're git repos.
<havenn> pac1: Github is awesome, by the way.
<havenn> pac1: Such a good place to read other's code.
<havenn> **others'
kirun has joined #ruby
richwestcoast has joined #ruby
<pac1> gist: 3807801
bsilwal has quit [Quit: Leaving.]
<canton7> pac1, non-anonymous ones stay around for forever, or until you delete them
<canton7> not sure about anonymous ones
lggr has quit [Ping timeout: 256 seconds]
<havenn> pac1: Ahh, Rails... that took me way too long (no coffee yet)
<pac1> ahhh Java...
tgraham is now known as tgraham|away
<pac1> '' => '' is a dictionary?
lggr has joined #ruby
<havenn> pac1: So best I can tell, in my hazy state, match() is a method, and it is being sent a naked hash as paraemeter
wedtm|away is now known as wedtm
<pac1> a naked hash? no hitchcocks...
<havenn> pac1: Yeah, a more verbose way: match({'this' => 'that'})
bobbbo has quit [Quit: bobbbo]
<canton7> that's correct
<pac1> ah ok so a method call doesnt require () and a hash can be naked.
<havenn> pac1: match() is the method, 'this' is the key, => is the thingy..., and 'that' is the value.
<havenn> pac1: Actually, in this case MUST be naked - or Ruby would think it was a block.
<pac1> thingy... I like that.
<havenn> pac1: {} are used for hashes and blocks, so sometimes you have to disambiguate - method arguements is only place I can think of seeing naked hashes
<pac1> is it match that can't accept the block, or methods in general?
<havenn> pac1: Methods in general.
bsilwal has joined #ruby
sepp2k1 has joined #ruby
<pac1> thanks.
jrajav has quit []
<havenn> np :)
<havenn> Now for coffee!!
sepp2k has quit [Ping timeout: 245 seconds]
havenn has quit [Remote host closed the connection]
icole has joined #ruby
ltsstar has joined #ruby
arkham has quit [Quit: WeeChat 0.3.9]
<pac1> Does routes.rb get called every time there's a url used, or does it set up something else that does the work?
tgraham|away is now known as tgraham
lggr has quit [Ping timeout: 255 seconds]
Guest____ has joined #ruby
baphled has quit [Ping timeout: 260 seconds]
indian has joined #ruby
Inoperable has quit [Quit: Rectified]
Guest____ has quit [Client Quit]
icole has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
punkrawkR has joined #ruby
<pac1> Answer to Does routes.rb get called every time? No. Just when the server starts. (based on observation: print 'this' printed only once at the server start.
Jork1 has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
gnilit has quit [Quit: restarting shell sessions]
gnilit has joined #ruby
enricostn has left #ruby [#ruby]
maletor has joined #ruby
xyzodiac has quit [Quit: Textual IRC Client: www.textualapp.com]
lggr has quit [Ping timeout: 245 seconds]
bricker has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
zeromodulus has quit [Remote host closed the connection]
dpk has quit [Quit: Asleep at the keyboard.]
jrajav has joined #ruby
bobbbo has joined #ruby
lggr has joined #ruby
BdeUtra has joined #ruby
rburton- has joined #ruby
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Solnse has joined #ruby
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
Axsuul has quit [Excess Flood]
Axsuul has joined #ruby
bobbbo has quit [Quit: bobbbo]
eldariof has quit []
lggr has quit [Ping timeout: 256 seconds]
uris has quit [Quit: leaving]
dimka has quit [Quit: leaving]
dimka has joined #ruby
lggr has joined #ruby
arkham has joined #ruby
swarley has quit [Ping timeout: 252 seconds]
namidark has quit [Ping timeout: 252 seconds]
lazyPower has quit [Quit: leaving]
catphish has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
JetAway has joined #ruby
CaptainJet has quit [Disconnected by services]
JetAway is now known as CaptainJet
jbw has quit [Ping timeout: 246 seconds]
namidark has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
mohamad_ has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.9]
mohamad_ has quit [Client Quit]
nochamani has joined #ruby
samphippen has joined #ruby
lggr has joined #ruby
fyolnish has joined #ruby
pk1001100011 has joined #ruby
butblack has quit [Quit: butblack]
pskosinski has quit [Ping timeout: 244 seconds]
philcrissman has joined #ruby
butblack has joined #ruby
samphippen has quit [Client Quit]
msch has quit [Quit: Coyote finally caught me]
msch has joined #ruby
nochamani has left #ruby [#ruby]
workmad3 has quit [Ping timeout: 252 seconds]
conor_ireland has joined #ruby
pk1001100011 is now known as pskosinski
fbernier has quit [Read error: Connection reset by peer]
fyolnish has quit [Ping timeout: 240 seconds]
fortin has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
butblack has quit [Client Quit]
<matti> ;]
lggr has quit [Ping timeout: 244 seconds]
<fortin> Hi folks. I'm creating my first gem following http://guides.rubygems.org/make-your-own-gem/ . All good so far, the only thing that is puzzling me is that it works only if I remove the "Hola::" prefix from the required class
mulinux has joined #ruby
adambeynon has joined #ruby
<mulinux> is there plan for ruby conf in germany?
<mulinux> is there any plans for a ruby conf in germany?
maletor has joined #ruby
mohamad_ has joined #ruby
chimay has quit [Quit: WeeChat 0.4.0-dev]
mohamad_ has quit [Client Quit]
butblack has joined #ruby
nochamani has joined #ruby
lggr has joined #ruby
nochamani has left #ruby [#ruby]
yoklov has quit [Quit: computer sleeping]
zii has quit [Ping timeout: 260 seconds]
kiyoura has joined #ruby
catphish has quit [Ping timeout: 246 seconds]
indian has quit [Ping timeout: 260 seconds]
butblack has quit [Quit: butblack]
catphish has joined #ruby
bsilwal1 has joined #ruby
stephenjudkins has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
<fortin> nevermind, understood why: I was using require before the Hola class declaration
bsilwal has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
rakl has joined #ruby
rburton- has quit [Quit: Leaving...]
capsule_toy has joined #ruby
thecreators has quit [Quit: thecreators]
thecreators has joined #ruby
Fretta has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
Takehiro has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
capsule_toy has quit []
F1skr has joined #ruby
arkiver has joined #ruby
Pochacco has joined #ruby
tgraham has quit [Quit: Leaving...]
burgestrand1 has joined #ruby
lggr has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
burgestrand has quit [Ping timeout: 246 seconds]
tgraham has joined #ruby
nochamani has joined #ruby
mulinux has quit [Quit: mulinux]
cakehero has joined #ruby
fredjean has joined #ruby
fredjean has quit [Client Quit]
thunders_ has joined #ruby
leprkhn has joined #ruby
gmci has quit [Quit: Computer has gone to sleep.]
Markvilla has joined #ruby
ianblenke1 has joined #ruby
Cache_Money has joined #ruby
Takehiro has joined #ruby
nochamani has left #ruby [#ruby]
kirun has quit [Ping timeout: 265 seconds]
F1skr has quit [Quit: WeeChat 0.3.9]
lggr has quit [Ping timeout: 240 seconds]
thunderstrike has quit [Ping timeout: 244 seconds]
swarley has joined #ruby
Cache_Money has left #ruby [#ruby]
jrajav has quit []
Xeago has joined #ruby
lggr has joined #ruby
ryanf has quit [Quit: broken pipes |||]
gnilit has quit [Ping timeout: 260 seconds]
ananthakumaran1 has quit [Quit: Leaving.]
lggr has quit [Ping timeout: 245 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
Pochacco has quit [Quit: Pochacco]
Takehiro has quit [Remote host closed the connection]
bsilwal1 has quit [Quit: Leaving.]
ryanf has joined #ruby
headius has joined #ruby
jbw has joined #ruby
gyre007 has quit [Quit: Leaving]
lggr has joined #ruby
xuser has left #ruby [#ruby]
<shevy> hmmm when comes the RubyOS
kirun has joined #ruby
Nisstyre has joined #ruby
<Spaceghostc2c> shevy: Tuesday.
<shevy> \o/
rakl has quit [Quit: sleeping]
daniel_hinojosa has quit [Quit: Leaving.]
lggr has quit [Ping timeout: 245 seconds]
ryanf has quit [Quit: broken pipes |||]
baphled has joined #ruby
triptec has quit [Read error: Connection reset by peer]
lggr has joined #ruby
triptec has joined #ruby
rippa has quit [Ping timeout: 246 seconds]
wedtm is now known as wedtm|away
vitor-br has quit [Ping timeout: 245 seconds]
cakehero has joined #ruby
bigmcq77 has joined #ruby
fantazo has quit [Remote host closed the connection]
F1skr has joined #ruby
workmad3 has joined #ruby
Pochacco has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
yoklov has joined #ruby
jblack has quit [Ping timeout: 255 seconds]
Markvilla has joined #ruby
swarley has quit [Quit: Leaving]
swarley has joined #ruby
zeromodulus has joined #ruby
linoj has quit [Quit: linoj]
risico_ has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
notVert has joined #ruby
unrar has quit [Remote host closed the connection]
rakl has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
awestroke has quit [Remote host closed the connection]
yoklov has quit [Quit: computer sleeping]
jimeh4 has joined #ruby
cuci has joined #ruby
lggr has joined #ruby
awestroke has joined #ruby
<cuci> hi guys! I'm trying to do the following: unless a.nil? & a.attribute != "something" do stuff. But if a is nil I get an error at the second condition. How do I avoid that?
joofsh has joined #ruby
risico_ has quit [Quit: Leaving]
<cuci> wait....I'm stupid I need a.not nil
cuci has quit [Client Quit]
wedtm|away is now known as wedtm
linoj has joined #ruby
msch has quit [Quit: Coyote finally caught me]
msch has joined #ruby
vitor-br has joined #ruby
rakl has quit [Quit: sleeping]
zodiak has quit [Quit: Leaving]
vitor-br has quit [Max SendQ exceeded]
stephenjudkins has quit [Quit: stephenjudkins]
Takehiro has joined #ruby
yoklov has joined #ruby
vitor-br has joined #ruby
Nisstyre-laptop has joined #ruby
philcrissman has quit [Remote host closed the connection]
Jonah11_ has joined #ruby
adeponte has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
Tref has joined #ruby
wchun has joined #ruby
<Jonah11_> Is there a shorter way to return "cd" than "abcd"[2,10] -- that is, i want to omit the 2nd parameter of the array access somehow
Vainoharhainen has joined #ruby
jasonkuhrt has joined #ruby
<shevy> not really. "abcd"[2..-1] # => "cd"
lggr has joined #ruby
<shevy> "abcd"[2] defaults to return only one character
<shevy> your wanted syntax would require to change this default to return "all until the end"
Takehiro has quit [Ping timeout: 244 seconds]
arkiver has quit [Quit: Leaving]
catphish has left #ruby ["Leaving"]
brianpWins has joined #ruby
gani has quit [Quit: leaving..]
imami|afk is now known as banseljaj
vitor-br has quit [Ping timeout: 246 seconds]
Vainoharhainen has quit [Remote host closed the connection]
<Jonah11_> shevy, thanks
Chryson has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
tgraham is now known as tgraham|away
<k_89> man... YAML::dump() is a blessing
<k_89> for my var_dump() trained mind ;P
vlad_starkov has joined #ruby
<Jonah11_> i have a method that breaks text messages greater than 160 chars into multiple messages. any tips how to improve it or shorten it: http://pastie.org/4887792
TomJ has quit [Quit: TomJ]
replore has joined #ruby
<Jonah11_> 156 should be 154 actually in that code
wedtm is now known as wedtm|away
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
awestroke has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 245 seconds]
replore has quit [Remote host closed the connection]
ltsstar has quit [Quit: ltsstar]
cakehero has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
sepp2k1 has quit [Remote host closed the connection]
awestroke has joined #ruby
<k_89> Jonah11_, cant think of a way to shorten it, but yes you can make it more flexible by keeping 'line_lengths' and 'indentation' as optional arguments
<k_89> with default values
bobbbo has joined #ruby
lggr has joined #ruby
HarryHallman has joined #ruby
<HarryHallman> #join jruby
<Jonah11_> k_89, yeah good point. something about the ret = [] and the ret at the bottom bothers me, seems unnecessarily verbose
<k_89> Jonah11_, why return an array?
<k_89> with indented lines?
bigmcq77 has quit [Quit: Computer has gone to sleep.]
arkham has quit [Ping timeout: 255 seconds]
<Jonah11_> k_89, lines aren't indented, they just have a page index at the top. the array is so that i can then send each one in a separate sms message in twilio, which allows only 160 chars per text. trying to achieve same functionality as google questions by text, if you've ever used that
tgraham|away is now known as tgraham
<k_89> oh
<k_89> yeah .. then i cant think of any improvement :P
linoj has quit [Quit: linoj]
<Jonah11_> k_89, perhaps i need to ask k_90? :P
slainer68 has quit [Remote host closed the connection]
<k_89> haha
samphippen has joined #ruby
parzorep has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
headius has quit [Quit: headius]
linoj has joined #ruby
futilegames has quit [Quit: futilegames]
Guest71256 has quit [Quit: Guest71256]
lggr has joined #ruby
Pochacco has quit [Quit: Pochacco]
awestroke has quit [Remote host closed the connection]
arkham has joined #ruby
ly- has joined #ruby
ly- has quit [Remote host closed the connection]
linoj has quit [Read error: Connection reset by peer]
ly- has joined #ruby
ly- has quit [Changing host]
ly- has joined #ruby
LouisGB has joined #ruby
robustus has quit [Quit: ZNC - http://znc.in]
burgestrand has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
bluOxigen has quit [Ping timeout: 246 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
maletor has quit [Quit: Computer has gone to sleep.]
[diecast] has joined #ruby
burgestrand1 has quit [Ping timeout: 256 seconds]
DrShoggoth has joined #ruby
cakehero has joined #ruby
jimeh5 has joined #ruby
yoklov_ has joined #ruby
lggr has joined #ruby
senny has quit [Remote host closed the connection]
yoklov has quit [Read error: Connection reset by peer]
jimeh4 has quit [Read error: Connection reset by peer]
HarryHallman has quit [Ping timeout: 248 seconds]
<Jonah11_> can anyone explain this seeming inconsistency in the behavior of ruby string array access: http://pastie.org/4887895
<Spooner> Jonah11_ : It isn't an endpoint, it is length.
<Jonah11_> Spooner, doh! ty
bigmcq77 has joined #ruby
<Spooner> "abcde"[2..4] #=> "cde" if you want a length.
answer_42 has quit [Quit: WeeChat 0.3.8]
<Spooner> I mean, if you want it to be an endpoint, NOT a length.
lggr has quit [Ping timeout: 255 seconds]
neveirby has joined #ruby
<yxhuvud> just be aware of the difference of behaviour between "a"[1,4] and "a"[2,4]
Tref_ has joined #ruby
<Spooner> Jonah11_ : http://pastie.org/4887908 looks nicer to me.
<Hanmac> information: the result of string[nr] has changed between ruby 1.8 and 1.9
Tref has quit [Ping timeout: 240 seconds]
Tref_ is now known as Tref
<Jonah11_> Spooner, agreed. tyvm
maletor has joined #ruby
neveirby has left #ruby [#ruby]
lggr has joined #ruby
seoaqua has quit [Ping timeout: 244 seconds]
Takehiro has joined #ruby
wedtm|away is now known as wedtm
<Jonah11_> Spooner, and you got rid of those ugly ret -- i knew there was a way
<Spooner> Haven't checked it though. Might even like the edited version better ;)
<Spooner> Again, not checked. Should give ideas though.
<Spooner> Jonah11_ : OOps, error in that. edited.
Takehiro has quit [Ping timeout: 245 seconds]
codeFiend has joined #ruby
Vinz| has joined #ruby
samuel02 has joined #ruby
samphippen has quit [Ping timeout: 245 seconds]
recycle has quit [Remote host closed the connection]
tommyvyo has joined #ruby
<matti> Spooner: ;]
lggr has quit [Ping timeout: 255 seconds]
tvw has joined #ruby
macmartine has joined #ruby
tgraham has quit [Quit: Leaving...]
HarryHallman has joined #ruby
<Jonah11_> Spooner, I actually prefer the non scan version for readability
fortin has quit [Quit: Leaving.]
atmosx has joined #ruby
SirG has joined #ruby
lggr has joined #ruby
samphippen has joined #ruby
bobbbo has quit [Quit: bb]
jasonkuhrt has quit [Quit: Leaving...]
Guest55992 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Iszak has joined #ruby
Iszak has quit [Changing host]
Iszak has joined #ruby
butblack has joined #ruby
samuel02 has quit [Remote host closed the connection]
jasonkuhrt has joined #ruby
adeponte has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
rakuN has joined #ruby
atmosx has quit [Quit: WeeChat 0.3.8]
claymore_ has joined #ruby
ggreer has joined #ruby
lggr has joined #ruby
tvw has quit [Ping timeout: 244 seconds]
ggreer has left #ruby [#ruby]
<claymore_> what's the tidiest way to create an array of say, integers from 1 to 50? I thought I could write "nums = [1...50]" but this doesn't seem to work
jblack has joined #ruby
adeponte has joined #ruby
<matti> claymore_: (1..50).to_a
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
alek_b has quit [Remote host closed the connection]
<claymore_> I see, so this 1..50 notation only works for tuples?
<matti> Tuples?
<matti> (x..y) is a Range.
<matti> Which happens to have to_a
<claymore_> oh
<claymore_> sorry, I'm coming from other languages so I wasn't sure what the type was
<matti> Python ;]
<matti> No worries.
t0rc has quit [Read error: Connection reset by peer]
<claymore_> yeah ;)
alek_b_ has joined #ruby
<claymore_> thanks
<matti> ;]
<matti> How do you finding Ruby?
<claymore_> I actually prefer the language to python, in some ways
<matti> ;]
butblack has quit [Quit: butblack]
<Hanmac> what about: Array(5..50)
Mon_Ouie has quit [Ping timeout: 245 seconds]
jblack has quit [Ping timeout: 246 seconds]
<claymore_> ah yes, that works too
baphled has quit [Ping timeout: 244 seconds]
<claymore_> thanks guys
lggr has quit [Ping timeout: 240 seconds]
butblack has joined #ruby
butblack has quit [Client Quit]
Russell^^ has quit [Quit: Russell^^]
jasonkuhrt has quit [Quit: Leaving...]
<HarryHallman> how can I redefine a class when using embedded ruby?
replore has joined #ruby
lggr has joined #ruby
adeponte has quit [Remote host closed the connection]
wedtm is now known as wedtm|away
butblack has joined #ruby
Iszak has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
replore has quit [Ping timeout: 246 seconds]
HarryHallman has quit [Quit: Leaving]
Pochacco has joined #ruby
tgraham has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
richwestcoast has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )]
deafbybeheading has joined #ruby
jasonkuhrt has joined #ruby
ScottNYC has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
t0rc has joined #ruby
lggr has joined #ruby
beachandbytes has joined #ruby
jblack has joined #ruby
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby
deafbybeheading has quit [Remote host closed the connection]
tgraham has quit [Ping timeout: 244 seconds]
mikepack has quit [Remote host closed the connection]
rakuN has quit [Quit: rakuN]
Pochacco has quit [Quit: Pochacco]
rakuN has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
jasonkuhrt has quit [Quit: Leaving...]
rakuN has quit [Client Quit]
ryanf has joined #ruby
TriTodd has quit [Ping timeout: 246 seconds]
bradleyprice has joined #ruby
lggr has joined #ruby
alek_b_ is now known as alek_b
mikepack has joined #ruby
codeFiend has quit [Quit: codeFiend]
Takehiro has joined #ruby
claymore_ has quit [Quit: Leaving]
lggr has quit [Ping timeout: 245 seconds]
scott_ has joined #ruby
ryanf_ has joined #ruby
scott_ is now known as Guest84666
ryanf has quit [Read error: Connection reset by peer]
Takehiro has quit [Read error: No route to host]
Takehiro_ has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
ScottNYC has quit [Ping timeout: 240 seconds]
Vinz| has quit [Quit: Leaving]
Vinz| has joined #ruby
brianpWins has quit [Quit: brianpWins]
lggr has joined #ruby
jasonkuhrt has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
seanstickle has joined #ruby
burgestrand has quit [Ping timeout: 252 seconds]
thone has joined #ruby
kirun has quit [Quit: Client exiting]
lggr has quit [Ping timeout: 245 seconds]
k_89 has left #ruby ["Leaving"]
Vinz| has quit [Quit: Leaving]
thone_ has quit [Ping timeout: 244 seconds]
AndChat| has joined #ruby
Mon_Ouie has joined #ruby
tgraham has joined #ruby
Takehiro_ has quit [Remote host closed the connection]
maletor has joined #ruby
tvw has joined #ruby
dpk has joined #ruby
timonv has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 244 seconds]
lggr has joined #ruby
Banistergalaxy has joined #ruby
fredjean has joined #ruby
triptec has quit [Quit: triptec]
tommyvyo has joined #ruby
AndChat| has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
jasonkuhrt has quit [Quit: Leaving...]
wipeout has joined #ruby
alanp has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
frogprince has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 245 seconds]
frogprince_mac has quit [Quit: Bye!]
tgraham is now known as tgraham|away
tvw has quit [Remote host closed the connection]
emmanuelux has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
banseljaj is now known as imami|afk
lggr has joined #ruby
BombStrike has quit [Ping timeout: 248 seconds]
[Neurotic] has joined #ruby
gmci has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
Virunga has quit [Remote host closed the connection]
pskosinski has quit [Ping timeout: 246 seconds]
tgraham|away has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
yoklov_ has quit [Quit: computer sleeping]
Mon_Ouie has quit [Ping timeout: 245 seconds]
L1 has joined #ruby
nari_ has joined #ruby
waxjar has quit [Ping timeout: 244 seconds]
codeFiend has joined #ruby
TriTodd has joined #ruby
yoklov has joined #ruby
jrunning has joined #ruby
etherdev has quit [Ping timeout: 256 seconds]
lggr has quit [Ping timeout: 248 seconds]
pskosinski has joined #ruby
joofsh has quit [Ping timeout: 260 seconds]
wipeout has quit [Remote host closed the connection]
TheFuzzball has quit [Ping timeout: 260 seconds]
conor_ireland has quit [Quit: conor_ireland]
TheFuzzball has joined #ruby
TheFuzzball has quit [Excess Flood]
lggr has joined #ruby
Jellyg00se has joined #ruby
codeFiend has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
Pochacco has joined #ruby
TheFuzzball has joined #ruby
tgraham has joined #ruby
codeFiend has joined #ruby
joofsh has joined #ruby
wedtm|away is now known as wedtm
Foxandxss has joined #ruby
Solnse has quit [Ping timeout: 260 seconds]
codeFiend has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 252 seconds]
codeFiend has joined #ruby
leprkhn has quit [Quit: Leaving]
wpaulson has joined #ruby
<butblack> outside of a HABTM relationship, can you still use join tables?
<butblack> sorry… wrong venue
<Spaceghostc2c> hmt
lggr has joined #ruby
niklasb has quit [Ping timeout: 245 seconds]
skryking has quit [Ping timeout: 260 seconds]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Takehiro has joined #ruby
nari_ has quit [Ping timeout: 245 seconds]
slicslak has joined #ruby
Tombar has joined #ruby
icole has joined #ruby
Tombar has quit [Read error: Connection reset by peer]
Tombar has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
Takehiro has quit [Ping timeout: 248 seconds]
lggr has joined #ruby
icole has quit [Ping timeout: 246 seconds]
slicslak has quit [Ping timeout: 260 seconds]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lggr has quit [Ping timeout: 252 seconds]
arkham has quit [Quit: sleep]
kjellski_ has quit [Quit: This computer has gone to sleep]
Pochacco has quit [Read error: Connection reset by peer]
icole has joined #ruby
lggr has joined #ruby
Pochacco has joined #ruby
lurraca has joined #ruby
macmartine has joined #ruby
jasonkuhrt has joined #ruby
fredjean has quit [Quit: Computer has gone to sleep.]
icole has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 256 seconds]
bier has quit [Ping timeout: 255 seconds]
nightfalcon has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
chimkan has joined #ruby
tgraham is now known as tgraham|away
jasonkuhrt has quit [Ping timeout: 246 seconds]
centr0 has joined #ruby
nari_ has joined #ruby
Pochacco has quit [Quit: Pochacco]
lggr has joined #ruby
Criztian has joined #ruby
R3dy has joined #ruby
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-rc2)]
wpaulson has joined #ruby
awarner has joined #ruby
seanstickle has quit [Quit: seanstickle]
lggr has quit [Ping timeout: 248 seconds]
BMF has joined #ruby
bier has joined #ruby
notwen has quit [Read error: Connection reset by peer]
centr0 has left #ruby [#ruby]
notwen has joined #ruby
gmci has quit [Quit: Computer has gone to sleep.]
jrunning has quit [Ping timeout: 245 seconds]
jgrevich has quit [Read error: Connection reset by peer]
tgraham|away is now known as tgraham
VegetableSpoon has quit [Remote host closed the connection]
lggr has joined #ruby
jgrevich has joined #ruby
jasonkuhrt has joined #ruby
awarner has quit [Remote host closed the connection]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
R3dy_ has joined #ruby
R3dy has quit [Ping timeout: 252 seconds]
BdeUtra has quit [Quit: BdeUtra]
Guest84666 has quit [Quit: Guest84666]
lggr has quit [Ping timeout: 246 seconds]
stepnem has quit [Quit: ZNC - http://znc.sourceforge.net]
Pochacco has joined #ruby
<R3dy_> Is there functionality to extract tables from a binary database file in ruby?
<matti> Define binarny database?
<R3dy_> so I have a binary data file
<R3dy_> and it's a database
<R3dy_> It's sitting on disk
samphippen has quit [Quit: Computer has gone to sleep.]
<R3dy_> I want to open it with File.open(file, 'rb')
yakitori has quit [Read error: Operation timed out]
<R3dy_> and extract the tables I want
Xeago has quit [Remote host closed the connection]
<matti> Awesome, good luck.
lggr has joined #ruby
<R3dy_> so you are saying it won't be easy?
g-ram has quit [Quit: Computer has gone to sleep.]
thunders_ has quit [Remote host closed the connection]
ulisse has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
jasonkuhrt has quit [Quit: Leaving...]
kiyoura has quit [Ping timeout: 248 seconds]
<codeFiend> R3dy_: you're not really providing enough information
ulisse has left #ruby [#ruby]
Tombar has quit [Remote host closed the connection]
<codeFiend> R3dy_: what's the file format? how was it created?
<codeFiend> R3dy_: doing File.open will get you a handle on the file and you will be able to read the file contents
<codeFiend> R3dy_: but we have no idea what format it is in, so how are we supposed to tell you how to extract/decode the contents?
tgraham is now known as tgraham|away
<Spooner> codeFiend : Maybe R3dy_ was working up to an actual question?
pskosinski has quit [Quit: Some alternative (not-controlled-by-fu*up-developers/moderators) Red Eclipse 1.3.1 (r4131) servers: http://altred.tk/toggle.rb]
<codeFiend> Spooner: it
<codeFiend> Spooner: is possible :)
<codeFiend> Spooner: but he didn't say anything in 5 minutes
<codeFiend> Spooner: so i thought he completed his question.
adeponte has joined #ruby
jrunning has joined #ruby
<Spooner> R3dy_ : Use something like http://bindata.rubyforge.org/ though why anyone would make a non-standard binary database in this day and age is beyond me. And yes, I can accept it is ancient legacy carp.
lggr has quit [Ping timeout: 240 seconds]
jblack has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
jblack has joined #ruby
Pochacco has quit [Quit: Pochacco]
replore_ has joined #ruby
noyb has quit [Ping timeout: 240 seconds]
<R3dy_> sorry it's ntds.dit
<R3dy_> the windows domain controller database
lggr has joined #ruby
<R3dy_> I'm trying to make a ruby equivlant to the tool NTDSXtract
<R3dy_> which is in python
Pochacco has joined #ruby
<Spooner> Right, so the format is well-known, at least.
butblack has quit [Ping timeout: 260 seconds]
Takehiro has joined #ruby
awarner has joined #ruby
axl_ has quit [Quit: axl_]
jeff_sebring has joined #ruby
bapa has quit [Quit: No Ping reply in 180 seconds.]
jeff_sebring has quit [Remote host closed the connection]
jeff_sebring has joined #ruby
R3dy_ is now known as R3dy
R3dy has quit [Changing host]
R3dy has joined #ruby
bapa has joined #ruby
jeff_sebring has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 244 seconds]
chimkan___ has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.9]
shiki has joined #ruby
adeponte has quit [Remote host closed the connection]
tommyvyo has joined #ruby
lggr has joined #ruby
jeff_sebring has joined #ruby
jeff_sebring has quit [Remote host closed the connection]
replore_ has quit [Remote host closed the connection]
jeff_sebring has joined #ruby
chimkan has quit [Ping timeout: 240 seconds]
chimkan___ is now known as chimkan
swarley has quit [Quit: Leaving]
Knodi has joined #ruby
dmiller has joined #ruby
R3dy has quit [Ping timeout: 260 seconds]
Pochacco has quit [Quit: Pochacco]
elux has joined #ruby
yoklov has quit [Quit: computer sleeping]
lggr has quit [Ping timeout: 256 seconds]
philips_ has quit [Excess Flood]
tgraham|away is now known as tgraham
lggr has joined #ruby
wpaulson has joined #ruby
philips_ has joined #ruby
codeFiend has quit [Ping timeout: 245 seconds]