blitz

Activity Graph

Page 1 of 1

2018-06-18

[23:42:12] blitz: Quit: Quittin'

2018-05-29

[02:46:56] blitz: *.net *.split
[02:47:45] blitz: has joined #RubyOnRails
[02:50:08] blitz: *.net *.split
[02:51:45] blitz: has joined #RubyOnRails
[18:53:01] blitz: *.net *.split

2018-05-12

[07:47:06] blitz: has joined #RubyOnRails

2018-05-07

[20:53:22] blitz: *.net *.split

2018-05-06

[01:51:16] blitz: Remote host closed the connection
[01:51:31] blitz: has joined #RubyOnRails

2018-05-05

[20:26:18] blitz: Remote host closed the connection
[20:26:33] blitz: has joined #RubyOnRails
[21:32:53] blitz: Remote host closed the connection
[21:33:07] blitz: has joined #RubyOnRails

2018-04-30

[03:40:48] blitz: Remote host closed the connection
[03:41:03] blitz: has joined #RubyOnRails

2018-04-25

[12:25:39] blitz: *.net *.split
[12:27:31] blitz: has joined #RubyOnRails
[15:01:10] blitz: *.net *.split
[15:03:07] blitz: has joined #RubyOnRails

2018-04-24

[07:39:33] blitz: Remote host closed the connection
[07:39:48] blitz: has joined #RubyOnRails

2018-04-20

[20:39:46] blitz: Remote host closed the connection
[20:40:03] blitz: has joined #RubyOnRails

2018-04-19

[05:57:31] blitz: Remote host closed the connection
[05:57:45] blitz: has joined #RubyOnRails

2018-04-15

[11:01:37] blitz: Remote host closed the connection
[11:01:52] blitz: has joined #RubyOnRails

2018-04-12

[13:38:48] blitz: Remote host closed the connection
[13:39:01] blitz: has joined #RubyOnRails

2018-04-06

[22:57:25] blitz: Remote host closed the connection
[22:57:39] blitz: has joined #RubyOnRails

2018-01-18

[03:30:06] blitz: *.net *.split
[03:30:29] blitz: has joined #RubyOnRails

2017-11-13

[16:36:28] blitz: I have a gem that's trying to use active_mode assign_attributes, but something isn't permitted, so it's throwing a ForbiddenAttributesError - but I have no idea how to debug this to figure out exactly what is being passed
[16:36:34] blitz: active_model*
[16:40:21] blitz: I mean, obviously something isn't permitted
[16:40:27] blitz: but I don't know what the gem is trying to assign
[16:41:05] blitz: how do I inject a byebug line into a gem
[16:41:49] blitz: hmm, problem is all of this is autogenerated oauth by the gem - literally doesn't touch any of my rails code afaict
[16:43:04] blitz: the application trace is blank lol
[17:20:38] blitz: I got pry remote binding working in the gem

2017-11-08

[09:43:30] blitz: *.net *.split
[09:49:08] blitz: has joined #RubyOnRails

2017-10-31

[10:10:48] blitz: Read error: Connection reset by peer
[10:13:02] blitz: has joined #RubyOnRails

2017-09-25

[23:17:58] blitz: why does rails by default inject an extra parameter that contains all parameters with the controller name as a key into the params? I feel like I must be missing something - for example: http://paste.ubuntu.com/25617578/ "registration" gets injected
[23:19:09] blitz: I'm running in rails-api mode, json req/responses only
[23:53:00] blitz: thanks a bunch, I could just not figure out the right keywords to google this

2017-09-22

[08:06:37] blitz: Remote host closed the connection
[08:08:51] blitz: has joined #RubyOnRails

2017-09-11

[08:06:55] blitz: Remote host closed the connection
[08:09:11] blitz: has joined #RubyOnRails

2017-08-25

[12:32:46] blitz: *.net *.split
[12:35:58] blitz: has joined #RubyOnRails

2017-08-03

[05:13:04] blitz: Quit: No Ping reply in 180 seconds.
[05:15:28] blitz: has joined #RubyOnRails

2017-07-07

[06:37:18] blitz: Remote host closed the connection
[06:39:47] blitz: has joined #RubyOnRails

2017-06-20

[00:17:35] blitz: *.net *.split
[00:22:41] blitz: has joined #RubyOnRails

2017-06-02

[22:40:14] blitz: Excess Flood

2017-05-02

[14:44:46] blitz: Ping timeout: 264 seconds

2015-04-16

[18:21:42] blitz: geolocation is far from perfect
[18:21:46] blitz: that's why it doesn't work most of the time

2015-02-20

[20:33:00] blitz: is there any downside to "return Model.save!"
[20:33:11] blitz: as opposed to "Model.save!; return Model"
[20:33:34] blitz: yes, it's an instance ofa model
[20:35:13] blitz: symantically, it's the same
[20:35:20] blitz: semantically*

2014-11-11

[21:09:50] blitz: is there an alternative to God for monitoring nginx-passenger installs?
[21:11:44] blitz: yes, I should look into using upstart since we're having issues with god moving to 14.04
[21:15:02] blitz: I think 14.04 is some kind of ugly systemd-upstart hybrid
[21:15:24] blitz: I think you can switch over to systemd though
[21:18:34] blitz: I did find bluepill, it looks bare though
[21:19:02] blitz: it would be nice to have something that we wouldn't need to completely abandon on next LTS
[21:19:25] blitz: oh bluepill moved
[21:20:11] blitz: bluepill looks just like god
[21:52:47] blitz: what are the pros and cons of haml vs erb
[23:28:59] blitz: lol highlights
[23:29:15] blitz: we've used blitz.io here too
[23:31:16] blitz: nope, just a coincidence

2014-02-04

[00:20:27] blitz: is there a way to conditionally created a new instance of a subclass, determining the name of subclass in the super and then calling a function on that name
[00:34:54] blitz: I'm using Kernel.const_get
[00:34:55] blitz: found some info

2013-12-17

[19:51:17] blitz: so I had a payments table that used to be a many-many with just one other table, but now I need to make it many-many on many different tables. what's the rails way of doing this? I'd like to keep using the one transaction_id field I have on the payment model and just add a type or something similar
[19:52:04] blitz: I looked into the polymorphic associations but it seems built for another situation
[19:54:01] blitz: for example in the future I want to be able to associate the payment with a shopping_cart or a settlement
[19:54:10] blitz: so you can get all payments from the settlement or from the shopping cart
[19:54:17] blitz: and get all carts/settlements from a payment
[19:57:42] blitz: rhizome is that hard to imagine
[19:58:15] blitz: yeah I wasn't trying to be snarky
[19:58:44] blitz: I'll probably just do a :through association with an intermediate table handling typing
[20:03:25] blitz: yeah, I'm gonna get polymorphism working

2013-12-12

[20:50:01] blitz: I'm having issues figuring out how to sort a list of objects on multiple fields using sort_by

2013-10-25

[20:19:14] blitz: if you have a list of [a,b,c] whats the easiest way to call a.merge(b.merge(c))
[20:21:14] blitz: yeah, inject that's right

2013-09-23

[22:31:21] blitz: I'm using rails 2.3.18 and have a weird active record association situation I'm looking for input on. I have a Card model with card_number and merchant_id, and a fraud_lookups table with card_number, merchant_id and fraud_score rows. I need to have a has_many to has_many relationship between both where the lookups with the same card_number and merchant_id are the foreign-primary key constraints

2013-07-23

[23:08:18] blitz: in older versions of rails, what does the <%- do differently from <%

2013-07-19

[22:08:22] blitz: so if I implement a validates_inclusion_of in a class, how do I check if a something is then valid
[22:14:59] blitz: how would you check if a validates_inclusion_of is working

2013-06-24

[22:25:42] blitz: what is the => operator used for
[22:27:25] blitz: and when you put it into a function, it's for the params hash?
[22:27:43] blitz: in a method call
[22:28:08] blitz: the toughest thing about ruby so far is all the implicitness

2013-06-17

[20:07:00] blitz: LucasTT the official ruby site http://www.ruby-lang.org/en/documentation/quickstart/