Caius

Activity Graph

Page 1 of 2 | Next »

2019-07-09

[11:56:02] Caius: *.net *.split

2019-04-13

[16:49:51] Caius: *.net *.split

2019-03-03

[18:05:07] Caius: Ping timeout: 240 seconds
[18:05:37] Caius: has joined #ruby

2018-12-12

[22:29:27] Caius: Ping timeout: 250 seconds

2018-11-26

[09:25:30] Caius: *.net *.split

2018-08-30

[15:09:15] Caius: has joined #ruby

2018-08-21

[08:05:51] Caius: Ping timeout: 240 seconds
[08:07:25] Caius: has joined #ruby

2018-08-14

[12:41:24] Caius: has joined #ruby
[12:46:01] Caius: Ping timeout: 244 seconds
[12:47:00] Caius: has joined #ruby

2018-08-06

[13:42:13] Caius: Ping timeout: 244 seconds
[13:43:07] Caius: has joined #ruby

2018-08-01

[09:28:02] Caius: Ping timeout: 248 seconds
[09:31:07] Caius: has joined #ruby

2018-07-20

[00:07:06] Caius: *.net *.split
[00:15:50] Caius: has joined #ruby

2018-05-29

[02:46:51] Caius: *.net *.split
[02:47:51] Caius: has joined #ruby

2018-05-26

[03:36:41] Caius: has joined #ruby
[03:36:41] Caius: Changing host
[03:36:41] Caius: has joined #ruby

2018-05-24

[09:07:14] Caius: Ping timeout: 256 seconds

2018-05-09

[00:18:27] Caius: Ping timeout: 260 seconds
[00:21:12] Caius: has joined #ruby
[00:21:12] Caius: Changing host
[00:21:12] Caius: has joined #ruby

2018-04-25

[12:25:55] Caius: *.net *.split
[12:27:25] Caius: has joined #ruby
[15:01:26] Caius: *.net *.split
[15:03:10] Caius: has joined #ruby

2018-02-23

[08:25:57] Caius: Ping timeout: 240 seconds
[08:27:50] Caius: has joined #ruby
[08:27:50] Caius: Changing host
[08:27:50] Caius: has joined #ruby

2018-02-22

[11:06:41] Caius: Changing host
[11:06:41] Caius: has joined #ruby
[11:06:42] Caius: has joined #ruby
[11:15:43] Caius: Ping timeout: 248 seconds
[12:23:16] Caius: Changing host
[12:23:16] Caius: has joined #ruby
[12:23:17] Caius: has joined #ruby

2017-12-09

[05:06:08] Caius: *.net *.split
[05:15:09] Caius: has joined #ruby

2017-12-07

[14:48:23] Caius: *.net *.split
[14:55:05] Caius: has joined #ruby

2017-12-04

[21:39:02] Caius: has joined #ruby
[21:39:02] Caius: Changing host
[21:39:02] Caius: has joined #ruby

2017-12-01

[02:28:50] Caius: has joined #ruby

2017-11-16

[09:58:27] Caius: Remote host closed the connection
[10:01:19] Caius: has joined #ruby
[10:01:19] Caius: Changing host
[10:01:19] Caius: has joined #ruby

2017-11-10

[17:41:11] Caius: cagomez: it should be, but only if the error was raised after it was assigned
[17:43:05] Caius: If it errors before the assigment (ie, calling the code after =) then the variable won't have been set
[17:44:06] Caius: https://gist.github.com/caius/7a2241080007c190a7ea064da7024511
[17:44:13] Caius: no, e is the exception object that's raised
[17:44:51] Caius: If RecordInvalid stores the errors on itself, you might be able to use that
[17:48:15] Caius: That would work, sure :-)
[17:48:57] Caius: I'd be tempted to try and add it as a validation to the model so it adds the error before saving & saves you having to rescue it
[17:49:10] Caius: But there's many ways to skin that cat, and sometimes you just need it to work :-D

2017-10-31

[19:41:15] Caius: FrostCandy: depends on the implementation of Mymethod really
[19:41:33] Caius: if it calls new and assigns the vars passed in, then yes
[19:41:38] Caius: otherwise, no :-)
[19:42:43] Caius: FrostCandy: Mymethod would have to explicitly create an instance (look for a call to #new or something inside it)
[19:43:08] Caius: Myclass.Mymethod is different to inst = Myclass.new; inst.Mymethod though

2017-10-30

[14:33:35] Caius: Ping timeout: 240 seconds
[14:34:49] Caius: has joined #ruby
[14:34:49] Caius: Changing host
[14:34:49] Caius: has joined #ruby

2017-10-27

[19:09:37] Caius: Ping timeout: 260 seconds
[20:20:55] Caius: has joined #ruby
[20:20:55] Caius: Changing host
[20:20:55] Caius: has joined #ruby

2017-10-23

[04:16:50] Caius: Ping timeout: 252 seconds
[08:28:21] Caius: has joined #ruby
[08:28:21] Caius: Changing host
[08:28:21] Caius: has joined #ruby

2017-10-21

[05:27:59] Caius: Ping timeout: 248 seconds
[06:48:43] Caius: has joined #ruby
[06:48:43] Caius: Changing host
[06:48:43] Caius: has joined #ruby

2017-10-06

[02:08:12] Caius: Ping timeout: 260 seconds
[02:10:59] Caius: has joined #ruby
[02:10:59] Caius: Changing host
[02:10:59] Caius: has joined #ruby

2017-10-05

[02:00:41] Caius: Ping timeout: 240 seconds
[02:02:58] Caius: has joined #ruby
[02:02:58] Caius: Changing host
[02:02:58] Caius: has joined #ruby

2017-09-29

[03:32:10] Caius: Ping timeout: 264 seconds
[07:28:21] Caius: has joined #ruby
[07:28:21] Caius: Changing host
[07:28:21] Caius: has joined #ruby
[11:58:06] Caius: outer.each { |items| items.each do { |item| … } }

2017-09-28

[03:32:15] Caius: Ping timeout: 248 seconds
[03:39:32] Caius: has joined #ruby
[03:39:32] Caius: Changing host
[03:39:32] Caius: has joined #ruby
[11:17:51] Caius: I'd send a ruby hash and break out a 2x4 to beat him with until he understands what he will accept.
[11:18:05] Caius: (Or a clue-by-four, as a friend of mine has nicknamed his)

2017-09-12

[05:42:28] Caius: Ping timeout: 240 seconds
[05:42:56] Caius: has joined #ruby
[05:42:57] Caius: has joined #ruby
[05:42:57] Caius: Changing host

2017-09-10

[16:58:39] Caius: Ping timeout: 248 seconds
[16:59:21] Caius: has joined #ruby
[16:59:21] Caius: Changing host
[16:59:21] Caius: has joined #ruby
[17:02:01] Caius: Client Quit
[17:02:59] Caius: has joined #ruby
[17:02:59] Caius: Changing host
[17:02:59] Caius: has joined #ruby
[17:03:39] Caius: Client Quit
[17:04:08] Caius: has joined #ruby
[17:04:08] Caius: Changing host
[17:04:08] Caius: has joined #ruby
[17:30:36] Caius: has joined #ruby
[17:30:36] Caius: Changing host
[17:30:36] Caius: has joined #ruby
[17:43:03] Caius: has joined #ruby
[17:43:03] Caius: Changing host
[17:43:03] Caius: has joined #ruby
[17:44:55] Caius: Client Quit
[17:45:21] Caius: has joined #ruby
[17:45:21] Caius: Changing host
[17:45:21] Caius: has joined #ruby

2017-09-09

[07:57:40] Caius: Ping timeout: 255 seconds
[08:18:04] Caius: has joined #ruby
[08:18:04] Caius: Changing host
[08:18:04] Caius: has joined #ruby
[08:25:05] Caius: Ping timeout: 240 seconds
[08:25:54] Caius: has joined #ruby
[08:25:54] Caius: Changing host
[08:25:54] Caius: has joined #ruby
[08:45:35] Caius: Ping timeout: 240 seconds
[08:51:43] Caius: has joined #ruby
[08:51:43] Caius: Changing host
[08:51:43] Caius: has joined #ruby

2017-08-14

[23:51:21] Caius: *.net *.split
[23:56:33] Caius: has joined #ruby

2017-08-11

[02:18:56] Caius: Ping timeout: 260 seconds
[02:22:40] Caius: has joined #ruby
[02:22:40] Caius: Changing host
[02:22:40] Caius: has joined #ruby

2017-08-06

[19:10:09] Caius: Ping timeout: 240 seconds
[19:13:25] Caius: has joined #ruby
[19:13:25] Caius: Changing host
[19:13:25] Caius: has joined #ruby

2017-07-28

[12:42:29] Caius: has joined #ruby
[12:42:29] Caius: Changing host
[12:42:29] Caius: has joined #ruby

2017-07-18

[02:13:58] Caius: *.net *.split
[02:19:13] Caius: has joined #ruby
[02:19:49] Caius: has joined #ruby
[02:19:49] Caius: Changing host

2017-06-20

[00:17:32] Caius: *.net *.split

2017-05-25

[09:27:11] Caius: zip takes a block I think
[09:28:36] Caius: res = []; [1, 2, 3].zip([4, 5, 6]) { |a, b| res << a + b }; res # => [5, 7, 9]
[09:30:01] Caius: "If a block is given, it is invoked for each output array, otherwise an array of arrays is returned."

2017-05-15

[04:42:50] Caius: Ping timeout: 255 seconds
[04:45:27] Caius: has joined #ruby
[07:25:11] Caius: Ping timeout: 255 seconds
[07:27:44] Caius: has joined #ruby

2017-04-24

[20:24:39] Caius: Ping timeout: 240 seconds
[20:25:49] Caius: has joined #ruby

2017-04-22

[00:02:47] Caius: Ping timeout: 240 seconds
[00:24:26] Caius: has joined #ruby

2017-04-06

[14:13:11] Caius: Ping timeout: 255 seconds
[14:14:29] Caius: has joined #ruby

2015-12-09

[16:25:27] Caius: has left #ruby: ()

2015-12-08

[11:01:04] Caius: >> [1,3,5,6,8].each_slice(2) { |a, b| break(a) if b >= 5.5 }
[11:01:30] Caius: Not as short in characters, but saves building an intermediate array
[13:40:37] Caius: >> a ="+"; a["+"] = "\\+"; a
[13:41:47] Caius: jhass: except it behaves differently
[13:41:54] Caius: >> "+".sub("+", "\\+")
[13:42:05] Caius: Same arguments to String#sub directly results in different result
[13:42:30] Caius: String#[]= disables backreferencing perhaps?
[13:44:33] Caius: >> a = "abc"; a[/(.)/] = "\\1"; a
[13:44:38] Caius: >> "abc".sub(/(.)/, "\\1")

2015-12-07

[17:52:16] Caius: has joined #ruby
[17:52:16] Caius: has joined #RubyOnRails
[19:34:40] Caius: has left #RubyOnRails: ()
[23:54:53] Caius: andromedian: because `:return_me if true` is a valid ruby statement, that returns `:return_me`
[23:55:09] Caius: Ugh, was scrolled up and didn't see the replies.

2015-11-26

[19:01:51] Caius: *.net *.split
[19:02:38] Caius: has joined #ruby
[19:02:38] Caius: has joined #RubyOnRails

2015-11-25

[05:12:21] Caius: has joined #ruby
[05:12:21] Caius: has joined #RubyOnRails
[05:12:21] Caius: Changing host
[05:12:21] Caius: has joined #RubyOnRails

2015-11-18

2015-11-14

[10:09:48] Caius: nowhereFast: forgive the obvious question, but have you required faye and/or faye/websocket?

2015-11-11

[07:33:23] Caius: has joined #ruby
[07:33:23] Caius: has joined #RubyOnRails
[14:08:15] Caius: *.net *.split
[14:15:59] Caius: has joined #ruby
[14:15:59] Caius: has joined #RubyOnRails

2015-11-05

[09:02:32] Caius: has joined #ruby
[09:02:32] Caius: has joined #RubyOnRails
[09:02:45] Caius: Changing host
[09:02:46] Caius: has joined #RubyOnRails
[09:02:46] Caius: has joined #ruby

2015-11-02

[15:35:20] Caius: *.net *.split

2015-10-31

[09:17:01] Caius: Ping timeout: 256 seconds
[09:23:48] Caius: has joined #RubyOnRails
[09:23:49] Caius: has joined #ruby

2015-10-24

[10:27:25] Caius: Ping timeout: 256 seconds
[10:33:38] Caius: has joined #ruby
[10:33:38] Caius: has joined #RubyOnRails

2015-10-17

[11:37:15] Caius: Ping timeout: 256 seconds
[11:44:01] Caius: has joined #ruby
[11:44:01] Caius: has joined #RubyOnRails

2015-10-16

[00:08:53] Caius: has joined #RubyOnRails
[00:09:05] Caius: has joined #ruby

2015-10-10

[21:43:04] Caius: *.net *.split
[21:53:55] Caius: has joined #RubyOnRails
[21:53:55] Caius: has joined #ruby
[21:54:10] Caius: has joined #ruby
[21:54:10] Caius: has joined #RubyOnRails
[21:54:10] Caius: Changing host

2015-10-09

[12:58:32] Caius: Ping timeout: 256 seconds
[13:04:40] Caius: has joined #ruby
[13:04:40] Caius: has joined #RubyOnRails

2015-10-03

[10:08:34] Caius: Ping timeout: 256 seconds
[10:14:16] Caius: has joined #ruby
[10:14:16] Caius: has joined #RubyOnRails

2015-09-28

[14:48:26] Caius: Ping timeout: 256 seconds
[14:54:49] Caius: has joined #ruby
[14:54:49] Caius: has joined #RubyOnRails

2015-09-21

[15:58:50] Caius: Ping timeout: 256 seconds
[16:04:54] Caius: has joined #RubyOnRails
[16:04:54] Caius: has joined #ruby
[16:04:54] Caius: Changing host
[16:04:54] Caius: has joined #ruby
[16:04:54] Caius: has joined #RubyOnRails

2015-09-14

[17:08:40] Caius: Ping timeout: 256 seconds
[17:15:14] Caius: has joined #RubyOnRails
[17:15:15] Caius: has joined #ruby