t56381 has quit [Remote host closed the connection]
t3244 has joined #ruby-lang
seanstickle has quit [Quit: seanstickle]
lcdhoffman has joined #ruby-lang
Spaceghostc2c has joined #ruby-lang
Spaceghostc2c has quit [Changing host]
Spaceghostc2c has joined #ruby-lang
Spaceghostc2c has joined #ruby-lang
egman has joined #ruby-lang
iamjarvo has quit [Quit: Computer has gone to sleep.]
dejongge has quit [Ping timeout: 240 seconds]
neocoin has quit [Remote host closed the connection]
tndrbt has quit [Quit: tndrbt]
macmartine has joined #ruby-lang
stephenp has joined #ruby-lang
sora_h is now known as s0ra_h
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
<stephenp>
It there way to attach an instance variable / accessor method to an unbound method? i can extend my unbound method with the module, and assign a value - but when i try to retrieve it, I always git nil.
<stephenp>
s/git/get
rippa has joined #ruby-lang
<Spaceghostc2c>
stephenp: You should show some code. I'm not sure what you mean.
macmartine has quit [Quit: Computer has gone to sleep.]
t90789 has quit [Remote host closed the connection]
t32528 has joined #ruby-lang
macmartine has joined #ruby-lang
r0bby_ has joined #ruby-lang
oddmunds has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 246 seconds]
r0bby has quit [Ping timeout: 248 seconds]
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
methym has joined #ruby-lang
ryanf has quit [Quit: leaving]
hakunin_ is now known as hakunin
s0ra_h is now known as sora_h
workmad3 has quit [Ping timeout: 240 seconds]
arooni-mobile has joined #ruby-lang
seanstickle has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
<arooni-mobile>
i can get login to this site with curl -x 'POST' --data 'encoded_data=?.... blah blah' https://www.couchsurfing.org/login'.... but when i try to do it with a ruby HTTP library; i cannot (site doesnt let me in). ive tried with curb and http-client already
r0bby_ has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby-lang
r0bby_ has quit [Changing host]
r0bby_ has joined #ruby-lang
<arooni-mobile>
hahaha nevermind; solved it! i was POSTing to the wrong URL!!! stupid arooni-mobile !!!
oddmunds has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
setmeaway has quit [Ping timeout: 246 seconds]
yats_ has quit [Read error: Connection timed out]
sora_h is now known as s0ra_h
Fullmoon has quit [Quit: Fullmoon]
robbyoconnor has joined #ruby-lang
r0bby_ has quit [Ping timeout: 276 seconds]
brianpWins has quit [Quit: brianpWins]
Asher has quit [Quit: Leaving.]
bytephilia has joined #ruby-lang
s1n4 has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
burgestrand has quit [Quit: Leaving.]
t32528 has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 252 seconds]
t52397 has joined #ruby-lang
macmartine has joined #ruby-lang
rippa has quit [Ping timeout: 244 seconds]
ryanf has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
guns has joined #ruby-lang
rindolf has quit [Quit: Leaving]
itsmeduncan has joined #ruby-lang
guns has quit [Client Quit]
arooni-mobile has quit [Ping timeout: 245 seconds]
esad has joined #ruby-lang
s0ra_h is now known as sora_h
rking has quit [Read error: Connection reset by peer]
rking has joined #ruby-lang
s1n4 has quit [Quit: leaving]
towski has joined #ruby-lang
robbyoconnor has joined #ruby-lang
r0bby has joined #ruby-lang
<rue>
Uh-huh :P
arooni-mobile has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
s1n4 has joined #ruby-lang
r0bby_ has joined #ruby-lang
r0bby_ has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 276 seconds]
r0bby_ has joined #ruby-lang
r0bby has quit [Ping timeout: 260 seconds]
towski has quit [Remote host closed the connection]
burgestrand has joined #ruby-lang
abstr4ct has joined #ruby-lang
robbyoconnor has joined #ruby-lang
s1n4 has quit [Quit: leaving]
sora_h is now known as s0ra_h
brianpWins has joined #ruby-lang
<abstr4ct>
I have some code that uses hpricot that get data, [ puts (doc/MuraT).inner_html.gsub!(RemSpace, " ").gsub!(RemTags," ") ] and some other code that updates a database. Instead of it using put to output to the terminal i would like part of the sql query to be a variable that is the contents of the hpricot output that curently goes to the screen... any help is appreciated
<abstr4ct>
but everytime i set the hpricot line = to something, i get the literal variable in the database...
r0bby_ has quit [Ping timeout: 240 seconds]
<rue>
You should use Nokogiri, but also gist some code, because I’ve no idea what you’re actually doing
s1n4 has joined #ruby-lang
<abstr4ct>
well the hpricot part is working, but it displays out to console. instead i want the output of the line to be assigned to a variable and used in a sql query.. but i am having no luck
<arooni-mobile>
how can i make a string of 100 characters
<arooni-mobile>
without typing the chars. the chars can be anything
<rue>
" " * 100
<arooni-mobile>
thanks
<epitron>
(1..100).map { rand(255).chr }.join ''
robbyoconnor has quit [Ping timeout: 276 seconds]
countdigi has quit [Read error: Connection reset by peer]
toretore has joined #ruby-lang
dejongge has joined #ruby-lang
<arooni-mobile>
if i have 5 or 6 arguments to send to a method; is it better to have (var_1, var_2, var_3) or pass a hash?
solars has quit [Ping timeout: 246 seconds]
awalrond has joined #ruby-lang
deryl has quit [Quit: deryl]
toretore has quit [Quit: Leaving]
qwerxy has joined #ruby-lang
bytephilia has quit [Ping timeout: 245 seconds]
Sambalero has joined #ruby-lang
benanne has quit [Quit: kbai]
itsmeduncan has quit [Quit: itsmeduncan]
<burgestrand>
arooni-mobile: probably even better to think of a way to reduce the number
<burgestrand>
which way is better, or a mix, is dependent on the semantics of the arguments
gentz_ has quit [Read error: Operation timed out]
t52397 has quit [Remote host closed the connection]
gentz has joined #ruby-lang
t13531 has joined #ruby-lang
s0ra_h is now known as sora_h
igotnolegs has joined #ruby-lang
mndoci has joined #ruby-lang
qwerxy has quit [Quit: offski]
perryh is now known as perryh_away
bytephilia has joined #ruby-lang
brdude has joined #ruby-lang
virunga has joined #ruby-lang
itz_ has quit [Ping timeout: 272 seconds]
Sambalero has quit [Remote host closed the connection]
itz has joined #ruby-lang
deryl has joined #ruby-lang
<abstr4ct>
https://gist.github.com/3390263 any idea how to get hpricot output to be the input for a sql update feild instead of the put that is used now
pygmael has quit [Read error: Connection reset by peer]
pygmael has joined #ruby-lang
brdude has quit [Ping timeout: 260 seconds]
Sambalero has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
yats_ has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
sora_h is now known as s0ra_h
dhruvasagar has quit [Ping timeout: 240 seconds]
Sambalero has joined #ruby-lang
lun_ has joined #ruby-lang
virunga has quit [Quit: Sto andando via]
seanstickle has quit [Quit: seanstickle]
burgestrand has quit [Quit: Leaving.]
x0F has quit [Read error: Connection reset by peer]
burgestrand has joined #ruby-lang
qwerxy has joined #ruby-lang
x0F has joined #ruby-lang
ryanf has quit [Read error: Connection reset by peer]
Weems has joined #ruby-lang
Weems has quit [Changing host]
Weems has joined #ruby-lang
sailias has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #ruby-lang
t13531 has quit [Remote host closed the connection]
t15229 has joined #ruby-lang
<epitron>
yeah, 5 or 6 arguments is too many to remember :)
<epitron>
(and their ordering)
stardiviner has joined #ruby-lang
Jake232 has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 276 seconds]
ryanf has joined #ruby-lang
burgestrand has quit [Quit: Leaving.]
mndoci has quit [Remote host closed the connection]
perryh_away is now known as perryh
sailias has joined #ruby-lang
igotnole_ has joined #ruby-lang
igotnolegs has quit [Ping timeout: 240 seconds]
Sambalero has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 256 seconds]
burgestrand has joined #ruby-lang
qwerxy has quit [Quit: offski]
yats_ has quit [Read error: Connection timed out]
yats_ has joined #ruby-lang
lcdhoffman has joined #ruby-lang
gmci has quit [Ping timeout: 252 seconds]
gmci has joined #ruby-lang
Sambalero has joined #ruby-lang
nofxx has quit [Read error: Operation timed out]
Nisstyre has quit [Read error: Connection reset by peer]