stevednd

Activity Graph

Page 1 of 1

2017-11-09

[06:15:06] stevednd: Ping timeout: 248 seconds

2017-11-06

[17:04:27] stevednd: has joined #RubyOnRails
[17:04:38] stevednd: does anyone know why DateTime.iso8601('2017-10-02T12:32:42.123-05:00').to_time.utc.iso8601(9) returns "2017-10-02T17:32:42.123000000Z" in rails 4, and "2017-10-02T17:32:42.123000000+00:00" in rails 3?
[17:05:59] stevednd: more importantly how to get them to both return the same value?
[17:07:40] stevednd: dminuoso: I am aware that technically they are. we have two separate apis, and I would just prefer that they both return the exact same value
[17:09:56] stevednd: dminuoso: both are currently on 2.2.8 locale is en_US
[17:24:03] stevednd: dminuoso: I was just going to say that depending if the value comes from Time, or a DateTime affects whether it gets a Z or a +00:00 in rails 3
[17:25:24] stevednd: yes, true on both 3/4
[17:35:00] stevednd: yeah, that's what I figured I would have to end up doing.
[17:35:53] stevednd: now I have to figure out parsing issues for taking in values,as there is issue there(though not between rails versions I don't think)
[17:40:04] stevednd: dminuoso: thanks for the help. you wouldn't happen to know if there is a way to tell Time.iso8601 to parse a time that comes in without a zone ending as UTC rather than local time, would you?
[18:01:09] stevednd: I'll take a look, thanks

2017-10-28

[07:31:48] stevednd: Remote host closed the connection

2017-10-26

[19:17:18] stevednd: how can I get Time.iso8601 to treat a passed in string with no timezone as utc, and one with a timezone as being the offset of utc, and no matter what give me a utc time?

2017-10-21

[22:34:22] stevednd: I'm getting a load error when trying to require ruby-bitly into my rails app. I get the message `Bitly is not a class` which it's not. It subclasses OpenStruct. It works fine on its own outside of rails. Is there some way to work around this?
[22:41:49] stevednd: nevermind, turns out the the constant was already defined

2017-10-20

[14:57:33] stevednd: for nil:NilClass`, or it will completely blow up saying the constant APP_PATH is already initialized
[14:57:33] stevednd: hey all, I'm trying to wrap up some common functionality between a few of our apps, and one of the parts is moving a specific controller to the gem. No matter what I do I cannot get it to load. I've tried requiring it regularly, I've put it in `app/controllers/mygem/...`. I tried creating a railtie and requiring it there too. Either rails will load, but when I go to the controller/action in question it will just give me `undefined method `execute'
[14:57:40] stevednd: can anyone provide a proper example of how to include a controller in a gem?
[15:04:15] stevednd: sylario: do you have an example somewhere? Does it need to be an Engine, or just a Railtie?
[16:08:52] stevednd: sylario, matthewd: thanks. I got it working. now I just have to deal with the stupid inflector not respecting the acronym I set for some reason
[16:56:30] stevednd: Does anyone know why rails messes up the acronym inflection on `Org::RootAPI::RootAPIController`. I have 'RootAPI' set as an acronym, but rails seems to end up with "Org::RootApi::RootAPIController" which causes the controller not be able to be loaded of course. This is on rails 4
[16:56:48] stevednd: is this a bug, or do I need to add something else to the inflector
[17:33:43] stevednd: matthewd: I changed my inflector to just be 'API', then it failed on the actually controller name as 'RootApiController'. So I added 'RootAPI' in as an acronym as well. Then when it tried to load it it said uninitialized constant. the controller is at `app/controllers/org/rootapi/rootapi_controller.rb`

2017-05-03

[15:52:30] stevednd: Quit: Leaving

2017-04-12

[00:48:58] stevednd: has joined #RubyOnRails

2017-03-25

[17:36:23] stevednd: Ping timeout: 264 seconds

2016-07-18

[18:42:01] stevednd: has joined #ruby
[18:42:01] stevednd: has joined #RubyOnRails

2016-04-23

[19:43:27] stevednd: Quit: Leaving

2016-04-05

[12:32:03] stevednd: Ping timeout: 276 seconds
[12:40:03] stevednd: has joined #RubyOnRails
[12:40:03] stevednd: has joined #ruby

2016-04-04

[19:35:18] stevednd: has joined #ruby
[19:35:18] stevednd: has joined #RubyOnRails

2016-03-06

[14:52:01] stevednd: Quit: Leaving

2016-02-04

[11:46:05] stevednd: Ping timeout: 276 seconds
[13:10:48] stevednd: has joined #ruby
[13:10:48] stevednd: has joined #RubyOnRails

2016-01-31

[12:25:15] stevednd: *.net *.split
[12:28:35] stevednd: has joined #ruby
[12:28:37] stevednd: has joined #RubyOnRails

2016-01-20

[13:56:06] stevednd: *.net *.split

2016-01-16

[19:04:57] stevednd: Ping timeout: 255 seconds
[19:05:23] stevednd: has joined #ruby
[19:05:25] stevednd: has joined #RubyOnRails

2016-01-02

[00:00:53] stevednd: Ping timeout: 240 seconds
[00:00:57] stevednd: has joined #RubyOnRails
[00:00:57] stevednd: has joined #ruby

2015-12-12

[23:10:00] stevednd: has joined #ruby
[23:10:00] stevednd: has joined #RubyOnRails

2015-11-20

[19:31:00] stevednd: Remote host closed the connection

2015-11-05

[17:04:53] stevednd: *.net *.split
[17:06:01] stevednd: has joined #RubyOnRails
[17:06:01] stevednd: has joined #ruby

2015-10-30

[14:39:46] stevednd: Remote host closed the connection
[17:40:44] stevednd: has joined #ruby
[17:40:44] stevednd: has joined #RubyOnRails

2015-10-16

[00:08:53] stevednd: has joined #RubyOnRails
[00:09:06] stevednd: has joined #ruby

2015-10-14

[02:45:12] stevednd: Remote host closed the connection
[18:39:57] stevednd: has joined #ruby
[18:39:57] stevednd: has joined #RubyOnRails

2015-09-20

[07:55:03] stevednd: Ping timeout: 246 seconds
[08:08:44] stevednd: has joined #ruby
[08:08:46] stevednd: has joined #RubyOnRails

2015-09-15

[10:31:02] stevednd: *.net *.split
[10:32:20] stevednd: has joined #ruby
[10:32:22] stevednd: has joined #RubyOnRails

2015-09-14

[08:11:44] stevednd: Ping timeout: 250 seconds
[08:17:02] stevednd: has joined #ruby
[08:17:04] stevednd: has joined #RubyOnRails
[08:33:07] stevednd: Ping timeout: 240 seconds
[08:35:25] stevednd: has joined #ruby
[08:35:27] stevednd: has joined #RubyOnRails

2015-09-07

[20:15:30] stevednd: has joined #ruby
[20:15:30] stevednd: has joined #RubyOnRails

2015-09-04

[22:38:11] stevednd: Ping timeout: 240 seconds

2015-09-01

[18:50:03] stevednd: Read error: Connection reset by peer
[19:27:02] stevednd: has joined #ruby
[19:27:02] stevednd: has joined #RubyOnRails

2015-08-27

[13:59:20] stevednd: Remote host closed the connection
[22:15:46] stevednd: has joined #ruby
[22:15:46] stevednd: has joined #RubyOnRails

2015-08-25

[15:56:13] stevednd: has joined #ruby
[15:56:13] stevednd: has joined #RubyOnRails
[19:56:58] stevednd: Remote host closed the connection
[19:59:01] stevednd: has joined #ruby
[19:59:01] stevednd: has joined #RubyOnRails

2015-08-24

[21:10:43] stevednd: Read error: Connection reset by peer

2015-08-19

[00:26:49] stevednd: Ping timeout: 246 seconds
[01:24:31] stevednd: has joined #ruby
[01:24:31] stevednd: has joined #RubyOnRails

2015-08-18

[19:14:13] stevednd: Ping timeout: 250 seconds
[19:28:30] stevednd: has joined #ruby
[19:28:30] stevednd: has joined #RubyOnRails

2015-08-05

[05:14:26] stevednd: Ping timeout: 252 seconds
[05:26:08] stevednd: has joined #RubyOnRails
[05:26:08] stevednd: has joined #ruby

2015-08-02

[19:10:52] stevednd: *.net *.split
[19:11:12] stevednd: has joined #ruby
[19:11:13] stevednd: has joined #RubyOnRails

2015-06-15

[20:55:15] stevednd: has joined #ruby
[20:55:15] stevednd: has joined #RubyOnRails

2015-06-13

[14:52:19] stevednd: Ping timeout: 245 seconds
[15:02:48] stevednd: has joined #RubyOnRails
[15:11:20] stevednd: Ping timeout: 272 seconds
[16:56:31] stevednd: has joined #ruby
[16:56:31] stevednd: has joined #RubyOnRails
[18:40:54] stevednd: Quit: Leaving

2015-06-12

[08:54:11] stevednd: Ping timeout: 256 seconds
[09:07:17] stevednd: has joined #RubyOnRails

2015-06-03

[09:08:13] stevednd: Ping timeout: 255 seconds
[09:19:49] stevednd: has joined #RubyOnRails
[10:57:25] stevednd: Ping timeout: 272 seconds
[11:10:10] stevednd: has joined #RubyOnRails

2015-05-31

[18:43:21] stevednd: Ping timeout: 240 seconds
[18:44:28] stevednd: has joined #RubyOnRails

2015-05-29

[21:47:20] stevednd: Ping timeout: 272 seconds
[21:58:51] stevednd: has joined #RubyOnRails
[22:07:39] stevednd: Ping timeout: 250 seconds
[22:13:05] stevednd: has joined #RubyOnRails
[22:47:56] stevednd: Ping timeout: 246 seconds
[23:31:02] stevednd: has joined #RubyOnRails

2015-05-28

[04:42:14] stevednd: Ping timeout: 256 seconds
[04:55:41] stevednd: has joined #RubyOnRails

2015-05-25

[19:33:36] stevednd: has joined #RubyOnRails

2014-08-19

[19:34:26] stevednd: amongst all of the applications. What would be the best way to go about this? Is there a way to unauthenticated/unauthorized requests to each API to one central auth server?
[19:34:26] stevednd: Hey all, some help needed with oauth if possible. We're attempting to add oauth2 provider support to allow users to access their data through third parties. The problem is that we don't have one central API. Currently the interfaces the client would interact with are spread across 4 apps(we're consolidating, it's just going to be a while). We want to provide the user one interface to authorize access to their information

2014-08-18

[20:41:15] stevednd: pipework: I'm pretty sure you're meaning to mention stef1a

2014-08-17

[16:01:08] stevednd: amongst all of the applications. What would be the best way to go about this? Is there a way to unauthenticated/unauthorized requests to each API to one central auth server?
[16:01:08] stevednd: Hey all, some help needed with oauth if possible. We're attempting to add oauth2 provider support to allow users to access their data through third parties. The problem is that we don't have one central API. Currently the interfaces the client would interact with are spread across 4 apps(we're consolidating, it's just going to be a while). We want to provide the user one interface to authorize access to their information