choke

Activity Graph

Page 1 of 15 | Next »

2018-11-08

[00:25:24] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:06:47] choke: has joined #RubyOnRails
[16:07:48] choke: Client Quit
[16:08:56] choke: has joined #RubyOnRails
[16:17:49] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:18:18] choke: has joined #RubyOnRails
[20:59:43] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:00:35] choke: has joined #RubyOnRails
[21:04:57] choke: Client Quit
[21:09:19] choke: has joined #RubyOnRails
[21:11:49] choke: Client Quit
[21:14:33] choke: has joined #RubyOnRails
[22:05:07] choke: Ping timeout: 250 seconds

2018-11-07

[19:52:44] choke: has joined #RubyOnRails
[20:14:26] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:32:24] choke: has joined #RubyOnRails
[22:42:25] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:54:34] choke: has joined #RubyOnRails
[23:32:55] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:42:20] choke: has joined #RubyOnRails

2018-10-23

[01:59:55] choke: has joined #RubyOnRails
[02:45:45] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[06:25:43] choke: has joined #RubyOnRails
[15:54:00] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:07:15] choke: has joined #RubyOnRails
[23:27:40] choke: Read error: Connection reset by peer

2018-10-22

[03:15:36] choke: has joined #RubyOnRails
[03:16:03] choke: Client Quit
[04:46:41] choke: has joined #RubyOnRails
[07:29:33] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:49:21] choke: has joined #RubyOnRails
[19:54:56] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:12:58] choke: has joined #RubyOnRails
[23:38:28] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-10-21

[05:27:41] choke: has joined #RubyOnRails
[06:28:06] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-10-20

[00:25:27] choke: has joined #RubyOnRails
[01:17:09] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[01:20:40] choke: has joined #RubyOnRails
[01:50:05] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:07:50] choke: has joined #RubyOnRails
[02:10:12] choke: Client Quit
[03:15:10] choke: has joined #RubyOnRails
[03:21:22] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[03:35:04] choke: has joined #RubyOnRails
[03:57:58] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-10-19

[21:41:54] choke: has joined #RubyOnRails
[22:04:22] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:06:45] choke: has joined #RubyOnRails
[22:11:47] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:19:54] choke: has joined #RubyOnRails
[22:58:37] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:59:47] choke: has joined #RubyOnRails
[23:11:31] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-09-07

[02:05:10] choke: has joined #RubyOnRails
[02:10:00] choke: Client Quit
[02:52:49] choke: has joined #RubyOnRails
[02:57:07] choke: Ping timeout: 240 seconds

2018-09-06

[17:40:33] choke: has joined #RubyOnRails
[18:39:31] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:51:24] choke: has joined #RubyOnRails
[19:13:42] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:32:12] choke: has joined #RubyOnRails
[21:25:40] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:29:13] choke: has joined #RubyOnRails
[22:24:18] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:35:29] choke: has joined #RubyOnRails
[23:14:52] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:20:39] choke: has joined #RubyOnRails
[23:29:36] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-08-15

[21:46:56] choke: has joined #RubyOnRails
[21:48:15] choke: Hey all, having a small routing problem with Rails5. Hoping I can get some insight. I've outlined everything at https://gist.github.com/jblac/14e1493aae25cbb1800356170677723b but if there are any other questions, please do ask.
[22:01:59] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:13:42] choke: has joined #RubyOnRails
[22:34:50] choke: Read error: Connection reset by peer

2018-06-14

[15:49:36] choke: has joined #RubyOnRails
[16:12:37] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:19:14] choke: has joined #RubyOnRails
[16:20:04] choke: Client Quit
[16:24:02] choke: has joined #RubyOnRails
[16:28:17] choke: Ping timeout: 248 seconds

2018-06-13

[04:08:06] choke: has joined #RubyOnRails
[04:16:53] choke: documentation for my user_type_a routes, user_type_b routes, and one that's all inclusive )... I'm either an idiot and all these gems are great, i'm trying to do something I shouldn't, or documenting is seriously the worst job ever... Not sure how to get this done quickly and easily -- any insight?
[04:16:53] choke: Hey all i'm trying to document my api and i'm having issues... major issues... Been dealing with this for a week with nothing to show for it... started off with swagger-docs gem and of course it's out of date... moved to swagger-blocks gem, has really bad documentation... moved to rswag gem, no-go... checked out apipie - couldn't figure out how to have different versions AND different subsets ( i need a separate set of
[05:33:34] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:12:56] choke: has joined #RubyOnRails
[22:25:14] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:27:51] choke: has joined #RubyOnRails
[22:48:22] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:22:25] choke: has joined #RubyOnRails
[23:52:24] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-06-10

[00:25:50] choke: Ping timeout: 260 seconds

2018-06-09

[04:21:08] choke: has joined #RubyOnRails
[04:21:30] choke: hey all, i have a quick question regarding creating documentation... I have a full-featured API of a monolith web application and I'm working on docs currently. Are there any tools to generate different types of documentation?
[04:21:38] choke: What I mean is I have different user-types ( companies, internal, vendors, etc ) so I want to provide a docs link that provides information only on the items available for a specific user type -- not sure if its possible or if i should even worry about it.
[04:30:42] choke: I'll look at it -- I was generating swagger-blocks which is good ( kinda ) but as far as I can tell doesn't have the ability to be selective about what gets generated it's an all-or-nothing sort of thing.
[04:31:13] choke: Never had to do docs before ( at least official docs ) all api's i've done have been private api's for use by a web/mobile system.
[04:31:19] choke: thanks baweaver

2018-02-28

[00:31:03] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[04:52:29] choke: has joined #RubyOnRails
[06:37:14] choke: ^ Agreed, though if you wanted to do it in ruby -- you could maybe use the gem list functionality somehow ie: gem list -i "^gem_name$"
[06:37:43] choke: I know that with mysql2 without certain libraries installed, it won't let you install the gem -- so it'd be one way to tell if pg is installed if the gem acts the same way.
[06:39:16] choke: I'm currently having all sorts of problems with it ( not really, it's mostly problems trying to bring a horribly designed php application that's in production to rails, without being able to modify the database up-front to make it rails friendly )
[06:41:10] choke: 'cause, the php application will remain in place -- and the rails app is a json api, that i'll eventually migrate the php side to utilize ( I'm the only ruby dev on the team, everyone else is only php so I can't just bring the entire app to ruby )
[06:46:59] choke: One guy is learning ruby to help me out ( because my task list is about 3 years worth of work )... But the others - not so much. I pick my battle on this one...
[06:47:28] choke: Once the api is done, we're in a position that we can change the look and even the language multiple times a year and the functionality will always be the same.
[06:48:54] choke: Of course, so far - in 3 months of working on this myself, i've got over 3000 tests ( a bunch of pundit spec, and a bunch of request and unit spec )
[06:52:07] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:04:44] choke: has joined #RubyOnRails
[19:39:35] choke: Ping timeout: 255 seconds

2018-02-27

[01:04:02] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:48:00] choke: has joined #RubyOnRails

2018-02-26

[16:39:07] choke: has joined #RubyOnRails

2018-02-24

[00:31:54] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-02-23

[00:19:38] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:42:22] choke: has joined #RubyOnRails
[16:59:22] choke: https://gist.github.com/jblac/6e588112921c53b79b5684597edd190f dealing with moving a legacy app to rails, and having a small issue with pundit. When I run rspec, it's telling me: unable to find scope `CompanyLocationPolicy::Scope` for `CompanyLocation` not sure what's going on here
[17:01:58] choke: I can indeed
[17:04:10] choke: dminuoso https://gist.github.com/jblac/6e588112921c53b79b5684597edd190f just updated the gist with the backtrace
[17:22:39] choke: Figured it out -- my policies are namespaced ( api::v1::policynamehere ) and pundit doesn't allow for that. if i move them outside of name spacing it works fine. Though seems odd not to allow NS, 'cause authorization might be different from one version to the next... I'll have to re-think how I'm building my policies..
[17:24:51] choke: It looks like someone already did that, it got merged - then reverted
[17:27:14] choke: https://github.com/varvet/pundit/pull/152. I think is the one
[17:30:54] choke: dminuoso that works, but what happens in the future when I have 2 versions of the API and they both require different permissions ( likely to happen - our permissions are changing a lot right now ). I'm guessing i'd almost have to namespace my models as well?
[17:38:18] choke: I suppose I wouldn't -- great question...

2018-02-22

[01:50:32] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:13:28] choke: has joined #RubyOnRails
[16:23:09] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:31:09] choke: has joined #RubyOnRails

2018-02-21

[16:51:15] choke: has joined #RubyOnRails
[16:52:03] choke: Client Quit
[16:52:21] choke: has joined #RubyOnRails
[17:09:55] choke: Hey all, working on bringing a php legacy application to rails. having an issue with my factories: https://gist.github.com/jblac/128df32bab746f78376f05ec5428f1e4. I'm sure i'm doing something dumb but no clue what to do.
[20:34:48] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:37:24] choke: has joined #RubyOnRails
[22:52:20] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:52:53] choke: has joined #RubyOnRails

2018-01-25

[04:55:33] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[04:56:41] choke: has joined #RubyOnRails
[05:01:00] choke: Ping timeout: 252 seconds
[17:34:11] choke: has joined #RubyOnRails
[19:00:10] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:01:17] choke: has joined #RubyOnRails
[19:01:58] choke: Client Quit
[19:11:05] choke: has joined #RubyOnRails
[19:15:27] choke: Ping timeout: 240 seconds

2018-01-24

[01:11:33] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:17:18] choke: has joined #RubyOnRails
[18:45:50] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:19:58] choke: has joined #RubyOnRails

2018-01-23

[01:11:31] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:37:40] choke: has joined #RubyOnRails
[17:44:04] choke: With devise, anyone know how to extend or overwrite DatabaseAuthenticatable ( https://github.com/plataformatec/devise/blob/master/lib/devise/models/database_authenticatable.rb ) to change the key for the password ( requirement for legacy app )
[18:22:56] choke: dflomo that's what I use for all of my rails apps... It does a great job from unit testing, functional testing - plus being able to test my routing, and my views is a great thing... also does awesome for JSON api endpoint testing
[18:25:59] choke: Yeah, I've never had a problem with rspec. And little tip: Be sure to use FactoryBot for your factories ( used to be FactoryGirl )... and IF you're doing a JSON Api I use https://github.com/ruby-json-schema/json-schema to define my valid result structure
[19:03:30] choke: dflomo Some of them can be pretty gnarly to read, but you get used to it. The stack trace is where the magic is at... then of course, you can use byebug to do debugging as well

2018-01-22

[19:59:53] choke: has joined #RubyOnRails
[20:01:03] choke: I have some rules in one of my models, https://gist.github.com/jblac/5555017313131bf5ea7dcb39e95bfc34 just wondering if there's an alternate way I should be defining these since the sub-options are identical
[23:58:40] choke: I'm working on a rails API for a legacy app, adding in devise right now... anyone know if it's possible to change the keys for the encrypted_password so I don't have to change the schema on the database and alter all the references in the legacy app?

2018-01-19

[03:48:51] choke: has joined #RubyOnRails
[05:46:25] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[05:57:07] choke: has joined #RubyOnRails
[08:31:14] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:08:38] choke: has joined #RubyOnRails
[16:18:32] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:34:34] choke: has joined #RubyOnRails
[18:26:25] choke: Ping timeout: 260 seconds

2018-01-18

[17:27:08] choke: has joined #RubyOnRails
[17:27:12] choke: https://gist.github.com/jblac/f8c3ce3499d04eb4bad39a5753ee2ca4 having a small issue. Working on an API for a legacy database, so I can't modify the schema too much. Is there a way I can do a has_many relation on the company, to read from the tertiary table?
[19:15:28] choke: mustmodify depends on what it's for and the capabilities really... https://aws.amazon.com/ec2/pricing/on-demand/. The bulk of my servers are within the "compute" class, or "memory" class with a smattering of some in the storage class ( for my file servers )
[19:19:05] choke: Should definitely do that -- I personally separate everything... I have a small cluster of nginx servers to load balance between all of my rails servers which are all on compute... which reads my redis server and my db server ( which is really an RDS instance ) with failover, backups and redundancy in place. Try to eliminate a single point of failure
[19:21:40] choke: ivanskie - unless you intercept the click via javascript, your page is going to reload. that's just how http works
[19:22:43] choke: hopefully you've got some monitoring in place, like nagios or datadog? Really helps to understand your traffic patterns and server usage
[19:27:52] choke: ivanskie - add a unique id to the button the same way you added the success class to it... then use jquery .on and .ajax methods to perform the request.
[19:29:15] choke: mustmodify you'll get better performance by having your DB and everything separated... it could just be as simple as your read/write io being maxed out
[19:35:35] choke: mustmodify Easiest way is to create a "test environment" and build it out.... But you should really have some monitoring in place -- it's pretty much mandatory in my opinion. On my servers, I use datadog which allows me to setup all sorts of awesome monitoring tracks and be notified before anything goes down.
[23:38:26] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-01-17

[21:06:03] choke: has joined #RubyOnRails
[21:07:24] choke: Hey all -- anyone know if theres any alternative to Kaminari? Trying to add pagination to my R5 API results in horrible query-string urls that I can't get rid of
[21:09:41] choke: fryguy awesome, i'll look into it.. thanks
[21:10:58] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2017-08-01

[03:01:06] choke: has joined #RubyOnRails
[03:01:27] choke: has joined #ruby
[04:06:36] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[05:49:45] choke: has joined #ruby
[05:49:45] choke: has joined #RubyOnRails
[06:00:57] choke: Quit: Textual IRC Client: www.textualapp.com

2017-07-31

[20:15:38] choke: has joined #RubyOnRails
[20:15:41] choke: has joined #ruby
[21:03:52] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:04:40] choke: has joined #ruby
[21:04:46] choke: has joined #RubyOnRails
[22:22:40] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:36:04] choke: has joined #ruby
[22:36:04] choke: has joined #RubyOnRails
[23:25:38] choke: Quit: My MacBook has gone to sleep. ZZZzzz…

2017-07-28

[18:44:21] choke: has joined #ruby
[18:44:27] choke: has joined #RubyOnRails
[20:19:02] choke: Read error: Connection reset by peer

2017-07-14

[00:02:40] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:38:15] choke: has joined #RubyOnRails
[02:38:28] choke: has joined #ruby
[07:10:22] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:11:03] choke: has joined #RubyOnRails
[14:11:08] choke: has joined #ruby
[14:56:24] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:30:44] choke: has joined #ruby
[15:30:48] choke: has joined #RubyOnRails
[16:02:09] choke: Ping timeout: 248 seconds
[16:40:12] choke: has joined #ruby
[16:44:57] choke: Ping timeout: 260 seconds

2017-07-13

[01:31:36] choke: Ping timeout: 255 seconds
[15:53:43] choke: has joined #ruby
[15:53:49] choke: has joined #RubyOnRails
[16:08:38] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:16:57] choke: has joined #ruby
[16:16:57] choke: has joined #RubyOnRails
[19:59:06] choke: Ping timeout: 240 seconds
[20:25:57] choke: has joined #ruby
[20:25:57] choke: has joined #RubyOnRails

2017-07-12

[15:30:45] choke: has joined #ruby
[15:30:50] choke: has joined #RubyOnRails
[23:13:51] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:57:04] choke: has joined #ruby
[23:57:04] choke: has joined #RubyOnRails

2017-07-11

[08:04:17] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:54:26] choke: has joined #ruby
[13:54:34] choke: has joined #RubyOnRails
[14:47:04] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:47:49] choke: has joined #ruby
[14:47:54] choke: has joined #RubyOnRails
[14:52:28] choke: Ping timeout: 240 seconds

2017-07-10

[15:13:57] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:39:08] choke: has joined #ruby
[15:39:12] choke: has joined #RubyOnRails

2017-07-08

[01:39:21] choke: has joined #RubyOnRails
[01:39:25] choke: has joined #ruby
[10:47:18] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:37:05] choke: has joined #RubyOnRails
[15:37:05] choke: has joined #ruby

2017-07-03

[06:12:22] choke: Ping timeout: 268 seconds
[16:37:10] choke: has joined #RubyOnRails
[16:37:10] choke: has joined #ruby
[16:41:28] choke: Ping timeout: 255 seconds

2017-07-02

[22:48:59] choke: has joined #ruby
[22:49:03] choke: has joined #RubyOnRails

2017-07-01

[05:21:58] choke: Ping timeout: 268 seconds

2017-06-30

[23:01:13] choke: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:43:09] choke: has joined #RubyOnRails
[23:43:15] choke: has joined #ruby