execute

Activity Graph

Page 1 of 1

2015-12-10

[12:55:37] execute: Ping timeout: 250 seconds
[12:59:25] execute: has joined #RubyOnRails
[12:59:26] execute: has joined #RubyOnRails
[12:59:26] execute: Changing host
[18:21:04] execute: has left #RubyOnRails: ("Leaving...")

2015-12-08

[04:02:41] execute: has joined #RubyOnRails
[04:02:41] execute: Changing host

2015-12-02

[15:35:35] execute: *.net *.split
[15:41:44] execute: has joined #RubyOnRails
[15:52:45] execute: *.net *.split
[16:48:04] execute: has joined #RubyOnRails

2015-11-30

[03:06:11] execute: Ping timeout: 260 seconds
[03:27:42] execute: has joined #RubyOnRails
[06:10:34] execute: Ping timeout: 245 seconds
[06:17:07] execute: has joined #RubyOnRails
[14:20:09] execute: Ping timeout: 245 seconds
[14:36:55] execute: has joined #RubyOnRails
[14:41:30] execute: Ping timeout: 260 seconds
[15:39:01] execute: has joined #RubyOnRails
[17:25:34] execute: Ping timeout: 245 seconds
[17:27:55] execute: has joined #RubyOnRails

2015-11-26

[19:01:56] execute: *.net *.split
[19:08:09] execute: has joined #RubyOnRails

2015-11-06

[07:22:00] execute: (I'm kinda regretting my username now with these random false-positive highlights i'm getting :-) )

2015-11-05

[14:42:09] execute: Ping timeout: 250 seconds
[14:47:38] execute: has joined #RubyOnRails
[15:05:42] execute: has joined #RubyOnRails
[15:05:42] execute: Changing host

2015-10-31

[16:27:13] execute: has joined #RubyOnRails
[16:29:10] execute: hello, newbie on rails but i need to quickly enable pessimistic locking so i will try my luck here... with activerecord, how do i lock a row exclusively from selects and upates?
[16:29:45] execute: looking at http://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html it seems i only need to put .lock, is that all there is to it?

2015-10-22

[15:06:53] execute: *.net *.split

2015-10-18

[14:52:25] execute: has joined #RubyOnRails
[14:53:09] execute: if x is an object, would if x return true?
[14:56:08] execute: ok thanks guys... here's my problem
[14:58:13] execute: http://pastebin.com/xgP2gxvG
[14:59:09] execute: so anyway, that code randomly goes to else
[14:59:46] execute: so anyway, my solution would be to replace if @card .... to if !@card.nil? ....
[14:59:51] execute: would that work betteR?
[15:02:28] execute: tbuehlmann: yeah, i thought it would.. but it randomly hits else and i'm sure card is active and unconsumed
[15:02:54] execute: because on the else, i do a puts @card.inspect it shows it is active and unconsumed

2015-10-17

[12:26:42] execute: has left #RubyOnRails: ("Leaving...")

2015-10-16

[00:08:47] execute: has joined #RubyOnRails
[06:32:43] execute: has joined #RubyOnRails
[06:32:43] execute: Changing host

2015-10-15

[23:33:51] execute: Ping timeout: 265 seconds
[23:39:57] execute: has joined #RubyOnRails

2015-10-14

[10:20:46] execute: has joined #RubyOnRails
[10:21:15] execute: newbie here, mostly a php/nodejs guy maintaining ror code.
[10:21:35] execute: i need to know how a function returns false even if the function works as intended?
[10:23:13] execute: i dont know what i'm missing here
[10:23:47] execute: would an exception cause it to return false even if the exception was rescued?
[10:24:50] execute: rushed: yeah, thinking of doing that, hard without sharing too much info... let me think about this a little bit more :-)
[10:25:32] execute: ok how about this... if i have this: if @thing.active? && @thing.do_it!
[10:26:05] execute: and then thing.do_it! actually updates thing.active = false, would the if condition fail?
[10:29:02] execute: rushed: yeah, i know. its just that this is sort of a hotfix on a live server and i havent had time to spool up a staging or local env. but i guess i'll do that now :-)
[16:50:18] execute: *.net *.split
[17:00:01] execute: has joined #RubyOnRails
[17:07:20] execute: *.net *.split
[17:10:32] execute: has joined #RubyOnRails

2014-05-11

[10:20:15] execute: Hello, just upgraded to rails 4.1.1. i thought it would be a good idea to change my JS get routes to xhr :get, :my_route, format: :js, but it throws an error saying that "xhr" is undefined. Any ideas? :)