jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
robbyoconnor has joined #ruby-lang
dominikh has quit [Ping timeout: 245 seconds]
dominikh has joined #ruby-lang
aavt has joined #ruby-lang
<roadt>
hi, i try to fill a attribute from other fields, the attribute has validation rule setup, but how can i add validation errors before #valid? and before #save?
<roadt>
to notify something error in calculation process of the attribute .
<roadt>
ah. sorry. wrong channel.
<roadt>
my mistake. please ignore the message.
robbyoconnor has quit [Ping timeout: 246 seconds]
x0f has quit [Read error: Operation timed out]
x0f has joined #ruby-lang
RobertBirnie has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
aavt has quit [Quit: Leaving...]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby-lang
kitak has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
kitak has quit [Ping timeout: 245 seconds]
RobertBirnie has joined #ruby-lang
michd has quit [Ping timeout: 272 seconds]
nrk has quit [Ping timeout: 252 seconds]
marcel- has quit [Ping timeout: 248 seconds]
michd has joined #ruby-lang
RobertBirnie has quit [Client Quit]
marcel has joined #ruby-lang
marcel is now known as Guest74134
serroft has joined #ruby-lang
nertzy3 has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 246 seconds]
RobertBirnie has joined #ruby-lang
michaeldeol has joined #ruby-lang
serroft has quit [Quit: Leaving.]
robbyoconnor has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
guns has quit [Quit: guns]
michaeldeol has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
daikan has joined #ruby-lang
hahuang65 has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
plurt has joined #ruby-lang
kitak has joined #ruby-lang
robbyoconnor has joined #ruby-lang
michaeldeol has quit [Ping timeout: 272 seconds]
mechanicles has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
retro999 has joined #ruby-lang
kitak has quit [Remote host closed the connection]
Nilium has quit [Ping timeout: 246 seconds]
plurt has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
vlad_starkov has joined #ruby-lang
thmzlt has quit [Remote host closed the connection]
Barrin6 has joined #ruby-lang
Nilium has joined #ruby-lang
vlad_starkov has quit [Read error: Operation timed out]
michaeldeol has joined #ruby-lang
theta3 has joined #ruby-lang
michaeldeol has quit [Ping timeout: 245 seconds]
ender has joined #ruby-lang
kitak has joined #ruby-lang
JohnBat26 has joined #ruby-lang
|jemc| has joined #ruby-lang
bzalasky has joined #ruby-lang
symm- has quit [Ping timeout: 265 seconds]
thmzlt has joined #ruby-lang
RobertBirnie has joined #ruby-lang
mistym has joined #ruby-lang
thmzlt has quit [Ping timeout: 272 seconds]
bzalasky has quit [Remote host closed the connection]
rh1n0 has joined #ruby-lang
ndrst has quit [Ping timeout: 252 seconds]
tylersmith has joined #ruby-lang
lewix has quit [Remote host closed the connection]
mechanicles has quit [Quit: Computer has gone to sleep.]
lewix has joined #ruby-lang
lewix has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
lewix has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
nrk has joined #ruby-lang
havenwood has joined #ruby-lang
wuhua has joined #ruby-lang
mechanicles has joined #ruby-lang
michaeldeol has quit [Ping timeout: 246 seconds]
mechanicles has quit [Ping timeout: 260 seconds]
daikan has quit [Remote host closed the connection]
SteveBenner09 has joined #ruby-lang
lewix has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
lewix has joined #ruby-lang
tylersmith has joined #ruby-lang
daikan has joined #ruby-lang
daikan has quit [Ping timeout: 240 seconds]
anulman has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse>
HAHA for URI.parse not taking UTF8 URLs
tedstriker has quit [Quit: Anti-Fraping status set.]
<yorickpeterse>
well, guess I have to manually escape it then
<yorickpeterse>
hmpf
lewix has quit [Remote host closed the connection]
tedstriker has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
ledestin has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby-lang
anulman has quit [Ping timeout: 260 seconds]
lewix has joined #ruby-lang
<r0bgleeson>
yorickpeterse: yeah. you should manually escape everything you pass to URI.parse().
<r0bgleeson>
it won't do it for you, and it can lead to weird bugs
ledestin has joined #ruby-lang
benlovell has joined #ruby-lang
havenwood has joined #ruby-lang
michaeldeol has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 260 seconds]
nekserg has joined #ruby-lang
wallerdev has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ecnalyr has quit [Ping timeout: 245 seconds]
r0bby_ has quit [Ping timeout: 240 seconds]
Czupa has quit [Remote host closed the connection]
nekserg has quit [K-Lined]
mechanicles has joined #ruby-lang
r0bby_ has joined #ruby-lang
r0bby_ has quit [Changing host]
r0bby_ has joined #ruby-lang
robbyoconnor has joined #ruby-lang
zrl has quit [Ping timeout: 240 seconds]
r0bby_ has quit [Ping timeout: 246 seconds]
zrl has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
phus1on has quit [Ping timeout: 272 seconds]
smashwilson has quit [Quit: Leaving]
phus1on has joined #ruby-lang
|jemc| has joined #ruby-lang
Taranis has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
roadt has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
mistym has joined #ruby-lang
|jemc| has quit [Client Quit]
cored has quit [Ping timeout: 252 seconds]
|jemc| has joined #ruby-lang
grandy__ has joined #ruby-lang
nhmood_ has joined #ruby-lang
mitchty has quit [Ping timeout: 240 seconds]
brownies_ has joined #ruby-lang
brownies_ has quit [Changing host]
brownies_ has joined #ruby-lang
mitchty has joined #ruby-lang
DarkBushido has quit [Ping timeout: 240 seconds]
duckinator has quit [Ping timeout: 240 seconds]
Taranis_ has quit [Ping timeout: 240 seconds]
grandy_ has quit [Ping timeout: 240 seconds]
DarkBushido has joined #ruby-lang
Paradox has quit [Ping timeout: 240 seconds]
nhmood has quit [Ping timeout: 240 seconds]
mitchty has quit [Ping timeout: 240 seconds]
daikan has joined #ruby-lang
brownies has quit [Ping timeout: 240 seconds]
nhmood_ is now known as nhmood
duckinator has joined #ruby-lang
lewix has quit [Remote host closed the connection]
DarkBushido is now known as Guest94675
mistym has quit [Ping timeout: 248 seconds]
mbj has quit [Read error: Connection reset by peer]
Guest94675 has quit [Changing host]
Guest94675 has joined #ruby-lang
duckinator is now known as Guest57701
daikan has quit [Ping timeout: 240 seconds]
Guest57701 has quit [Changing host]
Guest57701 has joined #ruby-lang
abstr4ct has joined #ruby-lang
anulman has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
<abstr4ct>
because nokogiri doesnt support xpath2 i cannot use the lower-case function. I have found a way using the translate function. But i cant seem to combine my string search line and my translate line together. any ideas? https://gist.github.com/anonymous/8199165
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby-lang
Paradox has joined #ruby-lang
vlad_starkov has joined #ruby-lang
prc has joined #ruby-lang
Guest57701 is now known as duckinator
tedstriker has quit [Quit: Anti-Fraping status set.]
anulman has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 265 seconds]
RobertBirnie has joined #ruby-lang
RobertBirnie has quit [Client Quit]
Nilium_ has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
hinbody-mobile has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Remote host closed the connection]
anulman has quit [Ping timeout: 245 seconds]
<darix>
abstr4ct: as most of the functionality is provided by libxml/libxslt ... the limit could be there
michaeldeol has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
coca_rails has quit [Remote host closed the connection]
coca_rails has joined #ruby-lang
bzalasky has joined #ruby-lang
sevvie has joined #ruby-lang
tylersmith has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
coca_rails has quit [Remote host closed the connection]
coca_rails has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
zalmoxes has joined #ruby-lang
sevvie has quit [Ping timeout: 245 seconds]
Czupa has joined #ruby-lang
wuhua has quit [Ping timeout: 272 seconds]
bzalasky has quit [Remote host closed the connection]
cnivolle_ has quit [Ping timeout: 246 seconds]
<abstr4ct>
darix, yes that was my initial issue. however my lack of syntax prevents me from strining the tranlate method into the line which finds the string (which works)
jxpx777 has joined #ruby-lang
Tearan has quit []
<abstr4ct>
any idea why this works.. '//text()[preceding::*[contains(text(),"MONDAY")] and following::*[contains(text(),"TUESDAY")]]'
<abstr4ct>
but when i try to add the translate it says invalid expression
<abstr4ct>
'//translate(text(), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz")[preceding::*[contains(text(),"monday")] and following::*[contains(text(),"tuesday")]]'
symm- has joined #ruby-lang
mistym has joined #ruby-lang
<abstr4ct>
im trying to take the functionality of the first line (which works) and add in the translate function so all the text is tranlated before the string eval
Czupa has quit [Remote host closed the connection]
daikan has joined #ruby-lang
mbj has quit [Quit: Lost terminal]
michaeldeol has quit [Remote host closed the connection]
mistym has quit [Ping timeout: 272 seconds]
h0rrorvacui has joined #ruby-lang
daikan has quit [Ping timeout: 265 seconds]
anulman has joined #ruby-lang
dogweather has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang
anulman has quit [Ping timeout: 272 seconds]
cnivolle has quit [Remote host closed the connection]
mbj has joined #ruby-lang
serroft has joined #ruby-lang
anulman has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby-lang
Elico has quit [Ping timeout: 252 seconds]
lewix has joined #ruby-lang
daikan has joined #ruby-lang
michaeldeol has left #ruby-lang [#ruby-lang]
dogweather has joined #ruby-lang
mucker has quit []
mechanicles has quit [Remote host closed the connection]
Tearan has joined #ruby-lang
bzalasky has joined #ruby-lang
Voker57 has joined #ruby-lang
CaptainJet has quit []
lfox has quit [Quit: ZZZzzz…]
CaptainJet has joined #ruby-lang
ender has joined #ruby-lang
jerrytgarcia has quit [Quit: WeeChat 0.4.2]
jxpx777_ has joined #ruby-lang
18WAFG7N1 has joined #ruby-lang
jxpx777 has quit [Read error: Connection reset by peer]
jxpx777 has joined #ruby-lang
Onixs has joined #ruby-lang
ender has quit [Ping timeout: 240 seconds]
Onixs_ has quit [Read error: Connection reset by peer]
lfox has joined #ruby-lang
jxpx777_ has quit [Ping timeout: 260 seconds]
bzalasky has quit [Remote host closed the connection]
daikan has quit [Remote host closed the connection]
jerrytgarcia has joined #ruby-lang
<darix>
abstr4ct: see the gist
CaptainJet has quit [Read error: Connection reset by peer]