eshy

Activity Graph

Page 1 of 1

2015-11-29

[05:24:03] eshy: *.net *.split

2015-11-22

[03:45:58] eshy: *.net *.split
[03:56:05] eshy: has joined #ruby

2015-11-10

[16:27:48] eshy: Ping timeout: 272 seconds
[16:42:16] eshy: has joined #ruby

2015-11-01

[22:45:26] eshy: has joined #ruby

2015-08-20

[05:41:35] eshy: Quit: ZNC - 1.6.0 - http://znc.in

2015-08-17

[01:11:07] eshy: has joined #ruby
[01:11:38] eshy: Max SendQ exceeded
[01:13:02] eshy: has joined #ruby

2015-08-05

[23:49:03] eshy: Max SendQ exceeded

2015-08-04

[00:12:45] eshy: has joined #ruby

2015-07-20

[01:09:13] eshy: Max SendQ exceeded
[01:10:00] eshy: has joined #ruby
[01:10:01] eshy: Client Quit

2015-07-16

[00:35:42] eshy: has joined #ruby
[08:07:57] eshy: Max SendQ exceeded
[08:09:14] eshy: has joined #ruby

2015-07-15

[19:05:59] eshy: Ping timeout: 272 seconds

2015-07-13

[12:36:26] eshy: Max SendQ exceeded
[12:38:14] eshy: has joined #ruby

2015-07-09

[10:17:30] eshy: Max SendQ exceeded
[10:18:17] eshy: has joined #ruby

2015-06-30

[12:26:17] eshy: Max SendQ exceeded
[12:32:07] eshy: has joined #ruby

2015-06-25

[17:10:31] eshy: Ping timeout: 272 seconds
[17:13:33] eshy: has joined #ruby

2015-06-18

[22:55:17] eshy: *.net *.split
[23:06:09] eshy: has joined #ruby

2015-05-27

[06:01:18] eshy: Quit: ZNC - 1.6.0 - http://znc.in
[06:03:49] eshy: has joined #ruby
[06:04:08] eshy: Max SendQ exceeded
[06:04:29] eshy: has joined #ruby

2013-11-14

[04:55:09] eshy: hello, i have a very quick question about mass-updating records in rails 4.0
[04:55:35] eshy: I understand that as of 3.2 or earlier, the #update_all method has been deprecated
[04:56:13] eshy: am I right in assuming that I can just do something along the lines of: Model.all.update(conditions) ?
[04:58:28] eshy: hey louism2wash, i'm not sure if i'm correct but this is how i'd do it: basically i'd grab all the records and do a `.select{}`, and within the block check for the array element being >0: so: Asset.all.select{|a|a.array[0]>0}
[04:58:49] eshy: jrobeson: alright, i'll throw some ideas around and do some more testing
[05:01:00] eshy: jrobeson: it looks like i may have been incorrect about update_all, it's present in AR's 4.0.1 docs
[05:01:26] eshy: jrobeson: seen here: http://api.rubyonrails.org/classes/ActiveRecord/Relation.html#method-i-update (sorry if i'm sending too many lines?)