kimegede

Activity Graph

Page 1 of 2 | Next »

2017-10-09

[20:10:08] kimegede: has joined #RubyOnRails
[20:11:00] kimegede: Hi, I'm trying to figure out how to get "instance_variable_get(:@original_values)" to work?
[20:11:15] kimegede: Have it changed or am I missing something?
[20:12:09] kimegede: OK, also didn't work :)
[20:12:31] kimegede: Found it used here: https://github.com/eshaiju/graphql-ruby-sample/blob/8d10243ec1449974885a79788fd077988b5a16f5/app/graphql/mutations/comment_mutations.rb#L46
[20:14:27] kimegede: An old way of doing it? Or do I need to do something, to get that to work?
[20:17:11] kimegede: I would say almost as in the example above. Here is my code: https://gist.github.com/kimegede/2c405103601fbf3f37d799613f701113#file-comment_mutations-rb-L41
[20:18:34] kimegede: If there is a better way, please enlighten me :)
[20:27:52] kimegede: I'm getting this error: NoMethodError (private method `select' called for nil:NilClass):
[20:31:40] kimegede: Yeah, as I understand the repo (graphql-ruby-sample) they don't do anything extra - so to me it seems it's something built into Rails giving me that variable?
[20:38:57] kimegede: I know it's difficult - inputs is added to my gist: https://gist.github.com/kimegede/2c405103601fbf3f37d799613f701113
[20:42:19] kimegede: Not sure, what to Google. I have tried search for instance_variable_get / instance_variable_get(:@original_values) / @original_values ect.
[20:44:44] kimegede: Me neither :P
[20:45:54] kimegede: Okay thanks! :)

2016-06-27

[12:53:12] kimegede: has joined #ruby
[12:53:13] kimegede: has joined #RubyOnRails
[13:33:43] kimegede: Quit: Linkinus - http://linkinus.com

2016-06-26

[19:08:55] kimegede: has joined #ruby
[19:08:56] kimegede: has joined #RubyOnRails
[19:08:59] kimegede: Client Quit

2016-06-22

[19:03:31] kimegede: has joined #ruby
[19:03:32] kimegede: has joined #RubyOnRails
[19:58:30] kimegede: Quit: Linkinus - http://linkinus.com

2016-06-21

[21:15:29] kimegede: has joined #RubyOnRails
[21:15:29] kimegede: has joined #ruby
[21:46:11] kimegede: has left #ruby: ("Linkinus - http://linkinus.com")
[21:46:13] kimegede: has left #RubyOnRails: ("Linkinus - http://linkinus.com")

2016-04-26

[09:13:04] kimegede: has joined #RubyOnRails
[09:13:04] kimegede: has joined #ruby
[13:09:23] kimegede: Quit: Linkinus - http://linkinus.com

2016-04-21

[12:47:35] kimegede: has joined #RubyOnRails
[12:47:35] kimegede: has joined #ruby
[14:05:39] kimegede: Quit: Linkinus - http://linkinus.com

2016-04-08

[11:25:53] kimegede: has joined #RubyOnRails
[11:25:53] kimegede: has joined #ruby
[12:23:22] kimegede: Quit: Linkinus - http://linkinus.com

2016-02-12

[09:16:06] kimegede: has joined #RubyOnRails
[09:16:06] kimegede: has joined #ruby
[09:42:49] kimegede: Got problems with HTTP Method "OPTIONS" with Webbrick - can anyone guide me?
[09:44:33] kimegede: Need to support "OPTIONS" as frontend sending "Content-type: application/json" so it will send an "OPTIONS" request as well.
[09:52:49] kimegede: pipework: Thanks, will give the 2 other a try :)
[09:53:21] kimegede: pipework: Btw. using passenger for production
[09:58:36] kimegede: In development I'm just running "rails s" to start up the server, and currently that's WEBrick - how do I replace that one?
[10:09:13] kimegede: rvanlieshout: Okay that part was easy :)
[10:10:50] kimegede: It's still the same issue when trying to make cross domain.
[10:11:34] kimegede: No route matches [OPTIONS] "/login"
[10:11:42] kimegede: XMLHttpRequest cannot load http://127.0.0.1:3005/login. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 404.
[10:13:32] kimegede: No I need to add that somehow, can you point me in the right direction?
[10:14:16] kimegede: Found different solutions when Googling.
[10:18:05] kimegede: rvanlieshout: Looking
[10:48:56] kimegede: rvanlieshout: Thanks for your help! This one helped me: https://github.com/cyu/rack-cors
[13:09:29] kimegede: Quit: Linkinus - http://linkinus.com

2016-01-19

[12:53:54] kimegede: has joined #RubyOnRails
[12:53:54] kimegede: has joined #ruby
[12:56:39] kimegede: CSRF & API -> fails for our API - http://stackoverflow.com/q/34853823/2010791
[12:57:02] kimegede: Does anyone knows how this should be proper handled?
[12:58:58] kimegede: universa1: Will see what I can do. Thanks :)
[13:00:01] kimegede: OK - maybe that's the case here?
[13:08:46] kimegede: universa1: Did you see the code on stack? There is only our in-house Authenticate.
[13:08:56] kimegede: Some is saying: skip_before_action :verify_authenticity_token, :only => [:logout]
[13:46:18] kimegede: Quit: Linkinus - http://linkinus.com

2015-12-16

[13:09:12] kimegede: has joined #ruby
[13:09:13] kimegede: has joined #RubyOnRails
[15:19:27] kimegede: Quit: Linkinus - http://linkinus.com

2015-12-02

[08:28:30] kimegede: has joined #RubyOnRails
[08:28:30] kimegede: has joined #ruby
[08:38:47] kimegede: Quit: Linkinus - http://linkinus.com

2015-12-01

[08:30:35] kimegede: has joined #RubyOnRails
[08:30:35] kimegede: has joined #ruby
[10:44:36] kimegede: Read error: Connection reset by peer
[10:44:51] kimegede: has joined #ruby
[10:44:52] kimegede: has joined #RubyOnRails
[15:56:16] kimegede: Quit: Leaving...

2015-11-30

[07:14:03] kimegede: has joined #ruby
[07:14:04] kimegede: has joined #RubyOnRails
[07:34:23] kimegede: Quit: Linkinus - http://linkinus.com
[08:05:23] kimegede: has joined #RubyOnRails
[08:05:23] kimegede: has joined #ruby
[08:43:44] kimegede: Quit: Linkinus - http://linkinus.com
[08:44:02] kimegede: has joined #ruby
[08:44:03] kimegede: has joined #RubyOnRails
[15:30:39] kimegede: Quit: Leaving...
[21:22:18] kimegede: has joined #RubyOnRails
[21:22:18] kimegede: has joined #ruby
[21:22:30] kimegede: Client Quit

2015-11-26

[00:17:27] kimegede: has joined #RubyOnRails
[00:17:27] kimegede: has joined #ruby
[00:21:42] kimegede: Ping timeout: 255 seconds
[09:09:23] kimegede: has joined #ruby
[09:09:24] kimegede: has joined #RubyOnRails
[15:15:12] kimegede: Quit: Linkinus - http://linkinus.com

2015-11-25

[09:14:31] kimegede: has joined #RubyOnRails
[09:14:31] kimegede: has joined #ruby
[09:53:38] kimegede: Excess Flood
[09:53:56] kimegede: has joined #RubyOnRails
[09:53:56] kimegede: has joined #ruby
[11:51:12] kimegede: Ping timeout: 265 seconds
[20:44:45] kimegede: has joined #RubyOnRails
[20:44:45] kimegede: has joined #ruby
[21:16:47] kimegede: Quit: Leaving...

2015-11-24

[08:56:59] kimegede: has joined #RubyOnRails
[08:56:59] kimegede: has joined #ruby
[15:35:48] kimegede: Quit: Leaving...
[19:12:52] kimegede: has joined #RubyOnRails
[19:12:52] kimegede: has joined #ruby
[19:14:16] kimegede: Client Quit
[21:00:59] kimegede: has joined #RubyOnRails
[21:00:59] kimegede: has joined #ruby
[21:35:10] kimegede: Quit: Leaving...

2015-11-23

[08:14:22] kimegede: has joined #RubyOnRails
[08:14:22] kimegede: has joined #ruby
[15:07:46] kimegede: Quit: Linkinus - http://linkinus.com

2015-11-19

[00:01:50] kimegede: Quit: Leaving...
[08:19:24] kimegede: has joined #RubyOnRails
[08:19:24] kimegede: has joined #ruby
[14:33:02] kimegede: Quit: Linkinus - http://linkinus.com

2015-11-18

[08:49:07] kimegede: has joined #RubyOnRails
[08:49:07] kimegede: has joined #ruby
[15:25:34] kimegede: Quit: Leaving...
[18:29:11] kimegede: has joined #RubyOnRails
[18:29:11] kimegede: has joined #ruby

2015-11-17

[09:01:15] kimegede: has joined #ruby
[09:01:16] kimegede: has joined #RubyOnRails
[15:05:38] kimegede: Quit: Leaving...

2015-11-16

[09:37:08] kimegede: has joined #RubyOnRails
[09:37:08] kimegede: has joined #ruby
[15:21:35] kimegede: Quit: Leaving...

2015-11-13

[10:43:21] kimegede: has joined #RubyOnRails
[10:43:21] kimegede: has joined #ruby
[15:27:26] kimegede: Quit: Leaving...
[17:11:33] kimegede: has joined #RubyOnRails
[17:11:33] kimegede: has joined #ruby
[17:16:44] kimegede: Ping timeout: 272 seconds

2015-11-12

[13:10:26] kimegede: has joined #ruby
[13:10:27] kimegede: has joined #RubyOnRails
[15:18:02] kimegede: Quit: Linkinus - http://linkinus.com

2015-11-11

[08:25:25] kimegede: has joined #RubyOnRails
[08:25:25] kimegede: has joined #ruby
[11:11:11] kimegede: Quit: Leaving...
[12:03:19] kimegede: has joined #RubyOnRails
[12:03:19] kimegede: has joined #ruby
[15:05:08] kimegede: Quit: Linkinus - http://linkinus.com

2015-11-10

[08:21:03] kimegede: has joined #RubyOnRails
[08:21:03] kimegede: has joined #ruby
[15:18:45] kimegede: Quit: Leaving...

2015-11-09

[06:51:13] kimegede: has joined #ruby
[06:51:14] kimegede: has joined #RubyOnRails
[15:12:10] kimegede: Quit: Leaving...

2015-11-06

[00:28:49] kimegede: Quit: Leaving...
[08:59:19] kimegede: has joined #RubyOnRails
[08:59:19] kimegede: has joined #ruby
[13:46:41] kimegede: Quit: Leaving...
[14:07:51] kimegede: has joined #ruby
[14:07:52] kimegede: has joined #RubyOnRails
[15:31:10] kimegede: Quit: Leaving...

2015-11-05

[08:51:14] kimegede: has joined #RubyOnRails
[08:51:14] kimegede: has joined #ruby
[16:09:26] kimegede: Quit: Leaving...
[23:10:51] kimegede: has joined #RubyOnRails
[23:10:51] kimegede: has joined #ruby

2015-11-04

[08:12:53] kimegede: has joined #RubyOnRails
[08:12:53] kimegede: has joined #ruby
[11:40:26] kimegede: Quit: Leaving...
[11:44:36] kimegede: has joined #RubyOnRails
[11:44:36] kimegede: has joined #ruby
[11:51:20] kimegede: Quit: Leaving...

2015-11-03

[08:42:04] kimegede: has joined #RubyOnRails
[08:42:04] kimegede: has joined #ruby
[11:56:23] kimegede: Quit: Linkinus - http://linkinus.com

2015-11-02

[08:39:33] kimegede: has joined #RubyOnRails
[08:39:33] kimegede: has joined #ruby
[15:06:10] kimegede: Quit: Linkinus - http://linkinus.com
[16:54:36] kimegede: has joined #RubyOnRails
[16:54:36] kimegede: has joined #ruby
[17:04:56] kimegede: Quit: Leaving...

2015-10-30

[07:40:55] kimegede: has joined #RubyOnRails
[07:40:55] kimegede: has joined #ruby
[08:07:30] kimegede: Quit: Leaving...
[09:04:04] kimegede: has joined #RubyOnRails
[09:04:04] kimegede: has joined #ruby
[14:41:50] kimegede: Quit: Linkinus - http://linkinus.com

2015-10-29

[09:05:22] kimegede: has joined #RubyOnRails
[09:05:22] kimegede: has joined #ruby
[15:34:21] kimegede: Quit: Leaving...

2015-10-28

[08:53:47] kimegede: has joined #ruby
[08:53:48] kimegede: has joined #RubyOnRails
[11:07:17] kimegede: Quit: Leaving...
[11:08:04] kimegede: has joined #ruby
[11:08:05] kimegede: has joined #RubyOnRails
[12:03:05] kimegede: Quit: Linkinus - http://linkinus.com
[12:03:24] kimegede: has joined #ruby
[12:03:25] kimegede: has joined #RubyOnRails
[15:01:05] kimegede: Quit: Linkinus - http://linkinus.com
[19:39:27] kimegede: has joined #ruby
[19:39:28] kimegede: has joined #RubyOnRails
[19:54:06] kimegede: Quit: Leaving...
[19:58:33] kimegede: has joined #RubyOnRails
[19:58:33] kimegede: has joined #ruby
[20:53:45] kimegede: Quit: Leaving...
[20:55:45] kimegede: has joined #RubyOnRails
[20:55:45] kimegede: has joined #ruby
[20:56:55] kimegede: Client Quit

2015-10-27

[08:38:58] kimegede: has joined #ruby
[08:38:59] kimegede: has joined #RubyOnRails
[14:29:41] kimegede: Quit: Leaving...

2015-10-26

[08:17:22] kimegede: has joined #ruby
[08:17:23] kimegede: has joined #RubyOnRails
[15:05:31] kimegede: Read error: Connection reset by peer

2015-10-25

[17:10:24] kimegede: has joined #ruby
[17:11:28] kimegede: has joined #RubyOnRails
[17:12:14] kimegede: Hey, how do I create a model with "year" db type? Or should I use something else?
[17:12:21] kimegede: Timestamp or just :date
[17:12:53] kimegede: VeryBewitching: Yeah
[17:13:14] kimegede: It's like a "release year"
[17:14:30] kimegede: VeryBewitching: Cool, thank you - so you just want the interface, to have a input for year and kind of ignore the day & month?
[17:15:03] kimegede: Cool thanks :)
[17:22:50] kimegede: matthewd: That would actually make sense, forgot all about that, when I usually using year in other systems :)
[17:25:37] kimegede: matthewd: You are right
[17:52:57] kimegede: Quit: Leaving...
[18:52:16] kimegede: has joined #ruby
[18:52:17] kimegede: has joined #RubyOnRails
[18:52:42] kimegede: Would I be able to use the "factory_girl_rails" gem to generate some data for my development while clicking around? (Or is't only for test fixtures?)
[18:53:44] kimegede: Would I be able to use the "factory_girl_rails" gem to generate some data for my development while clicking around? (Or is't only for test fixtures?)
[19:00:15] kimegede: rhizome: Do you know where I can read more about that? :)
[20:12:01] kimegede: Quit: Leaving...

2015-10-23

[08:23:54] kimegede: has joined #ruby
[09:30:56] kimegede: Quit: Leaving...
[09:32:01] kimegede: has joined #ruby
[14:03:06] kimegede: Quit: Leaving...

2015-10-22

[08:09:31] kimegede: has joined #ruby
[14:14:56] kimegede: Quit: Linkinus - http://linkinus.com

2015-10-21

[07:28:19] kimegede: has joined #ruby
[14:21:06] kimegede: Quit: Linkinus - http://linkinus.com

2015-10-20

[08:24:03] kimegede: has joined #ruby
[15:06:13] kimegede: Quit: Linkinus - http://linkinus.com

2015-10-19

[06:13:25] kimegede: has joined #ruby
[12:37:22] kimegede: Quit: Leaving...
[12:43:23] kimegede: has joined #ruby
[13:58:36] kimegede: Quit: Leaving...
[17:31:30] kimegede: has joined #ruby
[17:48:48] kimegede: Quit: Linkinus - http://linkinus.com

2015-10-16

[08:16:51] kimegede: has joined #ruby
[13:49:31] kimegede: Quit: Linkinus - http://linkinus.com

2015-10-15

[08:43:08] kimegede: has joined #ruby
[14:10:51] kimegede: Quit: Linkinus - http://linkinus.com

2015-10-14

[07:12:47] kimegede: has joined #ruby
[13:53:43] kimegede: Quit: Leaving...