ian| has quit [Read error: Connection reset by peer]
coniptor has quit [Ping timeout: 256 seconds]
ian| has joined #ruby
coniptor has joined #ruby
towo has quit [Remote host closed the connection]
teardown has quit [Ping timeout: 240 seconds]
prion has quit [Ping timeout: 260 seconds]
teardown has joined #ruby
roshanavand has joined #ruby
teardown_ has joined #ruby
teardown has quit [Remote host closed the connection]
towo has joined #ruby
prion has joined #ruby
bambanx has joined #ruby
Rudd0 has quit [Ping timeout: 264 seconds]
FastJack has quit [Ping timeout: 260 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
GankMove has quit [Quit: GankMove]
FastJack has joined #ruby
roshanavand has joined #ruby
stuts has joined #ruby
ian| has quit [Quit: Exiting]
ian| has joined #ruby
banisterfiend has joined #ruby
ian__ has joined #ruby
ian__ has quit [Client Quit]
ian| has quit [Quit: Exiting]
ian| has joined #ruby
banisterfiend has quit [Ping timeout: 268 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Read error: No route to host]
GodFather_ has quit [Read error: No route to host]
orbyt_ has joined #ruby
TCZ has quit [Quit: Wawel - Czujesz sie dobrze, czynisz dobrze]
coniptor has quit [Ping timeout: 246 seconds]
coniptor has joined #ruby
prion has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
_aeris_ has quit [Ping timeout: 240 seconds]
adu has joined #ruby
iNs has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
iNs has joined #ruby
kashike has quit [Ping timeout: 264 seconds]
kashike has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Rudd0 has joined #ruby
gix has joined #ruby
gix- has quit [Ping timeout: 272 seconds]
ur5us_ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheDcoder[m] has left #ruby ["User left"]
<panorain>
So brail here
Xionkana has joined #ruby
kashike has quit [Ping timeout: 260 seconds]
<Xionkana>
Hey all, I was reading an article on idempotency I found, but I'm unfamiliar with Ruby which is used in his examples. Can somebody explain to me what the atomic_phase() function is doing? https://github.com/brandur/rocket-rides-atomic/blob/master/api.rb
Xionkana has quit [Quit: Leaving]
<stuts>
The atomic_phase() function starts a database (postgres?) transaction, then runs the block that has been passed to atomic_phase(). So, if I do atomic_phase(my_key) do; # loads of ruby code here;end, it starts a DB.transaction and then runs # loads of ruby code here.
kashike has joined #ruby
<stuts>
Too late with that one
<stuts>
Looks like it's just a complicated transaction ID implementation
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
m27frogy has quit [Ping timeout: 240 seconds]
ian| has quit [Quit: Exiting]
coniptor has quit [Ping timeout: 260 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stuts has quit [Remote host closed the connection]
panorain has quit [Remote host closed the connection]
panorain has joined #ruby
maryo87 has joined #ruby
hiroaki has quit [Ping timeout: 268 seconds]
coniptor has joined #ruby
ur5us__ has joined #ruby
ur5us_ has quit [Ping timeout: 260 seconds]
hiroaki has joined #ruby
kashike has quit [Ping timeout: 272 seconds]
s_ has quit [Remote host closed the connection]
s_ has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
bambanx has quit [Ping timeout: 265 seconds]
yokel has joined #ruby
kashike has joined #ruby
ur5us__ has quit [Quit: Leaving]
orbyt_ has joined #ruby
ChmEarl has quit [Quit: Leaving]
meinside has quit [Quit: Connection closed for inactivity]
maryo_87 has joined #ruby
maryo87 has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cd has quit [Quit: cd]
Mia has quit [Ping timeout: 256 seconds]
coniptor has quit [Ping timeout: 272 seconds]
adu has quit [Read error: Connection reset by peer]
adu has joined #ruby
coniptor has joined #ruby
bambanx has joined #ruby
bambanx has quit [Ping timeout: 246 seconds]
coniptor has quit [Ping timeout: 246 seconds]
coniptor has joined #ruby
adu has quit [Quit: adu]
jetchisel has joined #ruby
maryo87 has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
maryo_87 has quit [Ping timeout: 240 seconds]
schaerli_ has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
ua_ has joined #ruby
ua has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
adu has joined #ruby
maryo_87 has joined #ruby
maryo87 has quit [Read error: Connection reset by peer]