aguynamedben

Activity Graph

Page 1 of 1

2017-06-17

[10:46:35] aguynamedben: Remote host closed the connection

2017-05-18

[00:51:35] aguynamedben: has joined #RubyOnRails
[00:51:40] aguynamedben: has joined #ruby

2017-05-09

[17:49:05] aguynamedben: Remote host closed the connection

2017-04-25

[00:46:06] aguynamedben: Ping timeout: 246 seconds
[00:48:38] aguynamedben: has joined #RubyOnRails
[00:48:38] aguynamedben: has joined #ruby

2017-04-13

[17:22:44] aguynamedben: has joined #ruby
[17:22:44] aguynamedben: has joined #RubyOnRails

2016-07-18

[17:06:23] aguynamedben: Ping timeout: 272 seconds
[17:11:09] aguynamedben: has joined #ruby
[17:11:09] aguynamedben: has joined #RubyOnRails

2016-06-03

[05:04:04] aguynamedben: has joined #ruby
[05:04:04] aguynamedben: has joined #RubyOnRails
[05:35:32] aguynamedben: has joined #ruby
[05:35:32] aguynamedben: has joined #RubyOnRails
[06:10:07] aguynamedben: has joined #ruby
[06:10:07] aguynamedben: has joined #RubyOnRails
[06:44:11] aguynamedben: has joined #ruby
[06:44:11] aguynamedben: has joined #RubyOnRails
[07:16:15] aguynamedben: has joined #ruby
[07:16:15] aguynamedben: has joined #RubyOnRails

2016-05-23

[22:53:39] aguynamedben: *.net *.split
[22:59:11] aguynamedben: has joined #RubyOnRails
[22:59:12] aguynamedben: has joined #ruby

2016-05-10

[11:21:53] aguynamedben: Ping timeout: 250 seconds
[13:13:07] aguynamedben: has joined #RubyOnRails
[13:13:08] aguynamedben: has joined #ruby
[13:46:37] aguynamedben: has joined #ruby
[13:46:37] aguynamedben: has joined #RubyOnRails
[14:21:10] aguynamedben: has joined #ruby
[14:21:10] aguynamedben: has joined #RubyOnRails

2016-04-13

[22:57:17] aguynamedben: has joined #RubyOnRails
[23:00:54] aguynamedben: hello, if anybody is interested in working at a VC firm in San Francisco (First Round Capital), please DM me!
[23:01:47] aguynamedben: has joined #ruby
[23:04:36] aguynamedben: hello, if anybody is interested in working at a VC firm in San Francisco (First Round Capital), please DM me!
[23:56:57] aguynamedben: rbenv is the only way I roll
[23:57:04] aguynamedben: with the dotenv gem

2015-12-13

[05:53:41] aguynamedben: Quit: ZNC - http://znc.in

2015-12-02

[15:35:30] aguynamedben: *.net *.split
[15:41:45] aguynamedben: has joined #RubyOnRails
[15:52:40] aguynamedben: *.net *.split
[16:48:04] aguynamedben: has joined #RubyOnRails

2015-11-30

[18:23:36] aguynamedben: Ping timeout: 264 seconds
[18:50:19] aguynamedben: has joined #RubyOnRails

2015-11-27

[10:58:33] aguynamedben: Ping timeout: 325 seconds
[11:10:51] aguynamedben: has joined #RubyOnRails

2015-11-22

[03:45:04] aguynamedben: *.net *.split
[03:49:17] aguynamedben: has joined #RubyOnRails

2015-11-17

[05:00:04] aguynamedben: Ping timeout: 246 seconds
[05:04:28] aguynamedben: has joined #RubyOnRails

2015-11-16

[01:33:22] aguynamedben: Ping timeout: 246 seconds
[01:43:07] aguynamedben: has joined #RubyOnRails
[07:15:47] aguynamedben: Ping timeout: 448 seconds
[07:16:00] aguynamedben: has joined #RubyOnRails

2015-10-18

[05:02:55] aguynamedben: *.net *.split
[05:56:58] aguynamedben: has joined #RubyOnRails

2015-10-16

[00:19:54] aguynamedben: has joined #RubyOnRails

2015-10-06

[20:43:47] aguynamedben: *.net *.split
[20:46:18] aguynamedben: has joined #RubyOnRails

2015-09-15

[03:28:32] aguynamedben: Ping timeout: 246 seconds
[03:36:03] aguynamedben: has joined #RubyOnRails
[03:40:25] aguynamedben: Ping timeout: 246 seconds
[04:05:31] aguynamedben: has joined #RubyOnRails

2015-09-09

[00:48:50] aguynamedben: Ping timeout: 246 seconds
[00:56:35] aguynamedben: has joined #RubyOnRails

2015-09-07

[02:15:27] aguynamedben: *.net *.split
[02:32:33] aguynamedben: has joined #RubyOnRails

2015-09-04

[03:28:14] aguynamedben: Ping timeout: 246 seconds
[03:32:55] aguynamedben: has joined #RubyOnRails

2015-08-28

[03:27:12] aguynamedben: Ping timeout: 246 seconds
[03:34:00] aguynamedben: has joined #RubyOnRails
[10:27:06] aguynamedben: *.net *.split
[10:29:49] aguynamedben: has joined #RubyOnRails

2015-08-12

[15:05:44] aguynamedben: Ping timeout: 244 seconds
[15:11:46] aguynamedben: has joined #RubyOnRails

2015-07-21

[15:09:56] aguynamedben: *.net *.split
[18:22:22] aguynamedben: has joined #RubyOnRails

2015-07-20

[14:42:13] aguynamedben: Ping timeout: 248 seconds
[14:44:39] aguynamedben: has joined #RubyOnRails

2015-06-21

[00:36:33] aguynamedben: Ping timeout: 246 seconds
[00:43:58] aguynamedben: has joined #RubyOnRails
[13:08:04] aguynamedben: *.net *.split
[13:08:25] aguynamedben: has joined #RubyOnRails

2015-06-20

[20:29:59] aguynamedben: *.net *.split
[20:44:44] aguynamedben: has joined #RubyOnRails
[20:59:26] aguynamedben: *.net *.split
[21:20:15] aguynamedben: has joined #RubyOnRails

2015-06-19

[23:25:26] aguynamedben: Ping timeout: 256 seconds
[23:32:16] aguynamedben: has joined #RubyOnRails

2015-06-03

[21:03:45] aguynamedben: Ping timeout: 265 seconds
[21:15:07] aguynamedben: has joined #RubyOnRails

2015-05-18

[21:07:50] aguynamedben: I have a form for editing content (Rails 3.2.19)... I'm (accidentally) caching the entire form, including the CSRF token. I have confirmed that with 2 different users logged in, the CSRF is the same (caching), but both users are still able to pass CSRF protections, using a single (unintentially shared) CSRF token... were there any security errors in Rails allowing multiple users to share CSRF tokens?

2015-04-03

[00:18:40] aguynamedben: I have a little admin menu in the middle of a bunch of content I want to cache with fragment caching... is there a way to exclude a pieces of HTML from the cache and have Rails populate it dynamically... so cache the HTML around a small dynamic div, and have ERB know to still render the little div, but pull from the cache instead of rending the surrounding content?

2015-02-26

[02:04:30] aguynamedben: Is there a way UJS (remote: true) can handle field-specific server-side validation errors? I'm accustomed to using simple_form's f.error to render field-specific errors inline, it seems like UJS would have something similar if you return @object.errors as JSON...
[02:06:59] aguynamedben: sevenseacat, cool, yeah. I found https://github.com/DavyJonesLocker/client_side_validations but it's just a tad heavey it seems like, at least for this quick thing I'm trying to do now. I was hoping UJS was more integrated with form_for

2014-06-11

[21:59:42] aguynamedben: can somebody take a look at my routes.rb... I'm getting an infinite loop redirect, but my *_path function is returning a correct value which does not redirect... https://gist.github.com/aguynamedben/8e07335cf1c76562d3a5
[22:06:07] aguynamedben: Sigma00 hmm, thanks for looking, I updated it... I'm creating a @talent_candidate, then calling redirect_to talent_candidate_path(@talent_candidate). The print works and prints the correct path, but it appears the redirect_to is redirecting to the same URL the current requests is coming in on... hence the redirect loop
[22:06:21] aguynamedben: (updated it == updated the gist)
[22:08:01] aguynamedben: Sigma00 what do you mean maybe I have redirect_to on a controller? It's in an action of a controller...
[22:08:48] aguynamedben: no prob, thanks for taking a stab at it
[22:10:24] aguynamedben: Sigma00 done. I put those log statements in, but they are never getting hit during the redirect loop, so to me it looks like redirect_to is somehow looping back on the same path, even though it's printing the correct path in the log message
[22:14:36] aguynamedben: Sigma00 yes, basically I think... accept_talent_candidate_introduction_request_url(@talent_candidate)... for testing I am just trying to visit /talent_candidates/245/introduction_request/accept. It's getting routed correctly but the redirect is where it breaks
[22:15:31] aguynamedben: I used to have 2 identical functions, accept and deny... in the controller... I tried to make them one function to clean it up... hence the responded function with the 2 routes pointing to it passing the response_type parameter... I'm puzzled at how the redirect is happening and I suspect something weird with the routes.rb magic
[22:19:36] aguynamedben: Sigma00 yep... I forgot to copy the last end, but there are 3 ends in a row to close out the action/function for the contrller
[22:20:20] aguynamedben: I'm newish to Rails so I'm very curious if it's some kind of assumption in the resources/resource functionality of routes.rb... when I had this function separated into 2 function the redirect worked as expected
[22:21:03] aguynamedben: I don't know if having 2 get endpoints pointing to the same action is bad practice or something... I'm passing the variable to differentiate if the response is an accept or a deny
[22:21:40] aguynamedben: I mean, I can just undo it... and leave it... but Code Climate takes the controller from an A to an F if I do that, lol
[22:23:01] aguynamedben: nahtnam anything in vendor is generally from 3rd parties (bootstrap, etc.)
[22:23:50] aguynamedben: nahtnam http://guides.rubyonrails.org/asset_pipeline.html#asset-organization
[22:30:09] aguynamedben: haha, okay Sigma00, thanks for thinking about it... as a workaround I'm going to not pass the param in routes.rb... make a single "respond" endpoint, and pass the repsonse_type when generating the URL and see if a single endpoint works
[22:39:48] aguynamedben: url: respond_talent_candidate_introduction_request_url(@talent_candidate, response_type: "accepted")
[22:39:48] aguynamedben: Sigma00... I'll try your thing for fun... FYI I got it working with just a single route... get :respond, on: :member... then in the links using...