hmnhf

Activity Graph

Page 1 of 1

2016-07-03

[19:15:14] hmnhf: has joined #ruby
[19:15:14] hmnhf: has joined #RubyOnRails
[19:41:00] hmnhf: Quit: Konversation terminated!
[19:41:14] hmnhf: has joined #ruby
[19:41:14] hmnhf: has joined #RubyOnRails
[19:44:56] hmnhf: Client Quit
[19:45:10] hmnhf: has joined #ruby
[19:45:10] hmnhf: has joined #RubyOnRails
[19:45:11] hmnhf: Client Quit

2015-11-24

[18:57:07] hmnhf: has joined #ruby
[18:57:07] hmnhf: has joined #RubyOnRails
[20:02:13] hmnhf: Quit: Konversation terminated!

2015-09-22

[08:32:17] hmnhf: has joined #ruby
[08:32:17] hmnhf: has joined #RubyOnRails
[08:36:18] hmnhf: Remote host closed the connection
[08:36:39] hmnhf: has joined #ruby
[08:36:39] hmnhf: has joined #RubyOnRails
[08:40:41] hmnhf: Remote host closed the connection
[08:41:04] hmnhf: has joined #ruby
[08:41:04] hmnhf: has joined #RubyOnRails
[08:45:04] hmnhf: Remote host closed the connection
[08:45:32] hmnhf: has joined #ruby
[08:45:32] hmnhf: has joined #RubyOnRails
[08:51:49] hmnhf: Ping timeout: 268 seconds
[08:59:48] hmnhf: has joined #ruby
[08:59:48] hmnhf: has joined #RubyOnRails
[09:08:36] hmnhf: Ping timeout: 264 seconds
[09:35:39] hmnhf: has joined #ruby
[09:35:39] hmnhf: has joined #RubyOnRails
[09:44:13] hmnhf: Ping timeout: 255 seconds

2015-09-21

[12:06:29] hmnhf: has joined #ruby
[12:06:29] hmnhf: has joined #RubyOnRails
[12:45:05] hmnhf: has joined #ruby-offtopic
[12:45:51] hmnhf: has left #ruby-offtopic: ("Konversation terminated!")
[14:05:11] hmnhf: Ping timeout: 265 seconds

2015-09-02

[02:43:56] hmnhf: has joined #RubyOnRails
[02:43:57] hmnhf: has joined #ruby
[04:25:48] hmnhf: Ping timeout: 252 seconds
[05:22:45] hmnhf: has joined #RubyOnRails
[05:22:46] hmnhf: has joined #ruby
[06:11:43] hmnhf: Ping timeout: 260 seconds

2015-09-01

[06:40:37] hmnhf: Ping timeout: 265 seconds

2015-08-31

[13:15:22] hmnhf: has joined #ruby
[13:15:22] hmnhf: has joined #RubyOnRails

2015-08-28

[07:31:30] hmnhf: has joined #ruby
[07:31:30] hmnhf: has joined #RubyOnRails
[07:47:19] hmnhf: Quit: Konversation terminated!

2015-08-27

[13:31:55] hmnhf: has joined #ruby
[13:31:55] hmnhf: has joined #RubyOnRails
[13:37:20] hmnhf: has left #RubyOnRails: ()
[13:37:59] hmnhf: has joined #RubyOnRails
[13:43:44] hmnhf: Hi everyone, is there a better solution for unescaping special characters?
[13:43:45] hmnhf: http://stackoverflow.com/questions/9683985/unescaping-special-character-sequences-in-ruby-strings
[13:45:03] hmnhf: jhass: It's one of the rails request params.
[13:49:41] hmnhf: jhass: When rails escapes the newlines this method fails
[13:49:43] hmnhf: https://github.com/braintree/braintree_ruby/blob/master/lib/braintree/webhook_notification_gateway.rb#L9
[13:58:28] hmnhf: jhass: http://pastie.org/private/zlannizx8wvjzukpjsgga
[14:04:57] hmnhf: jhass: Currently I'm generating a sample notification with https://github.com/braintree/braintree_ruby/blob/master/lib/braintree/webhook_testing_gateway.rb#L9
[14:05:12] hmnhf: and then posting it to rails via postman
[14:12:44] hmnhf: jhass: So if I'm posting parameters the wrong way, I think there won't be a problem when braintree sends the real notifications, thanks for the help :)
[14:24:40] hmnhf: jhass: It's not just one sudden "\n", braintree's gem actually is generating these newlines, but when rails gets the request, it somewhere escapes the parameter's newlines
[14:24:42] hmnhf: http://pastie.org/private/w8vaqnhc54ec7y1onmwf9g#
[14:24:57] hmnhf: jhass: Thanks anyways :) I'll figure it out.
[14:26:25] hmnhf: I'm using postman, but let me test it with curl and see what happens.
[14:31:30] hmnhf: jhass: I tried with curl and still it's the same
[14:31:32] hmnhf: http://pastie.org/private/f5b8pvzonx9leqaia9qovg
[14:31:37] hmnhf: jhass: I'll try that.
[14:39:29] hmnhf: jhass: Escaping with CGI didn't work neither.
[14:39:30] hmnhf: http://pastie.org/private/s4dadfycp4jtbczdxq8sq
[14:40:43] hmnhf: jhass: I'll try testing it with a real braintree notification, thanks again :)
[14:43:34] hmnhf: jhass: Which "s? where? didn't find anything :D
[14:49:05] hmnhf: jhass: Yes, postman was messing it up, tried the CGI#escape's output with curl and it works.
[14:49:15] hmnhf: jhass: Thanks :D
[16:08:19] hmnhf: Ping timeout: 265 seconds

2015-08-12

[08:52:21] hmnhf: has joined #ruby
[08:52:21] hmnhf: has joined #RubyOnRails
[14:59:36] hmnhf: Ping timeout: 245 seconds
[15:42:33] hmnhf: has joined #RubyOnRails
[15:42:34] hmnhf: has joined #ruby
[15:44:58] hmnhf: Client Quit
[15:45:08] hmnhf: has joined #ruby
[15:45:08] hmnhf: has joined #RubyOnRails
[15:53:16] hmnhf: Quit: Konversation terminated!
[15:54:28] hmnhf: has joined #ruby
[15:54:28] hmnhf: has joined #RubyOnRails
[16:56:18] hmnhf: Ping timeout: 250 seconds
[16:57:02] hmnhf: has joined #RubyOnRails
[16:57:03] hmnhf: has joined #ruby
[17:04:21] hmnhf: Read error: Connection reset by peer
[17:04:30] hmnhf: has joined #ruby
[17:04:30] hmnhf: has joined #RubyOnRails
[17:15:32] hmnhf: Quit: Konversation terminated!
[17:16:15] hmnhf: has joined #ruby
[17:16:15] hmnhf: has joined #RubyOnRails
[17:17:42] hmnhf: Client Quit
[17:17:55] hmnhf: has joined #RubyOnRails
[17:17:56] hmnhf: has joined #ruby
[18:08:45] hmnhf: Ping timeout: 260 seconds

2015-08-04

[05:28:50] hmnhf: has joined #ruby
[05:28:50] hmnhf: has joined #RubyOnRails
[10:35:50] hmnhf: Quit: Konversation terminated!

2015-08-03

[04:28:34] hmnhf: has joined #RubyOnRails
[04:28:35] hmnhf: has joined #ruby
[12:57:54] hmnhf: Ping timeout: 246 seconds
[15:59:53] hmnhf: has joined #ruby
[15:59:53] hmnhf: has joined #RubyOnRails
[16:04:03] hmnhf: Read error: Connection reset by peer

2015-08-02

[08:24:33] hmnhf: has joined #ruby
[08:24:33] hmnhf: has joined #RubyOnRails
[13:01:27] hmnhf: Ping timeout: 240 seconds
[17:42:40] hmnhf: has joined #ruby
[17:42:40] hmnhf: has joined #RubyOnRails
[17:50:50] hmnhf: Ping timeout: 246 seconds

2015-07-12

[08:37:46] hmnhf: has joined #ruby
[08:37:46] hmnhf: has joined #RubyOnRails
[13:04:01] hmnhf: Ping timeout: 255 seconds

2015-07-11

[02:40:22] hmnhf: Ping timeout: 252 seconds
[04:34:54] hmnhf: has joined #RubyOnRails
[04:34:55] hmnhf: has joined #ruby
[06:20:51] hmnhf: Ping timeout: 246 seconds

2015-07-10

[15:21:23] hmnhf: has joined #RubyOnRails
[15:21:24] hmnhf: has joined #ruby

2015-07-09

[04:57:44] hmnhf: Ping timeout: 244 seconds
[05:17:18] hmnhf: has joined #ruby
[05:17:18] hmnhf: has joined #RubyOnRails
[05:59:38] hmnhf: Ping timeout: 246 seconds
[06:21:08] hmnhf: has joined #RubyOnRails
[06:21:09] hmnhf: has joined #ruby
[13:38:22] hmnhf: Ping timeout: 252 seconds

2015-07-08

[05:28:08] hmnhf: has joined #ruby
[05:28:08] hmnhf: has joined #RubyOnRails
[08:26:29] hmnhf: Read error: Connection reset by peer
[08:28:04] hmnhf: has joined #ruby
[08:28:04] hmnhf: has joined #RubyOnRails
[09:19:40] hmnhf: Ping timeout: 265 seconds
[09:20:05] hmnhf: has joined #ruby
[09:20:05] hmnhf: has joined #RubyOnRails
[09:54:24] hmnhf: Remote host closed the connection
[14:54:46] hmnhf: has joined #ruby
[14:54:46] hmnhf: has joined #RubyOnRails
[17:30:34] hmnhf: Quit: Konversation terminated!
[17:30:43] hmnhf: has joined #ruby
[17:30:43] hmnhf: has joined #RubyOnRails

2015-07-07

[18:39:18] hmnhf: has joined #RubyOnRails
[18:39:19] hmnhf: has joined #ruby
[19:20:52] hmnhf: Ping timeout: 276 seconds

2015-06-25

[07:17:52] hmnhf: has joined #ruby
[07:17:52] hmnhf: has joined #RubyOnRails
[09:54:51] hmnhf: Ping timeout: 250 seconds

2015-06-10

[08:59:02] hmnhf: has joined #ruby
[08:59:02] hmnhf: has joined #RubyOnRails
[13:59:44] hmnhf: Quit: Konversation terminated!

2015-06-04

[01:22:17] hmnhf: Ping timeout: 250 seconds

2015-06-03

[16:26:54] hmnhf: has joined #ruby
[16:26:54] hmnhf: has joined #RubyOnRails

2015-06-02

[05:46:56] hmnhf: has joined #ruby
[05:46:56] hmnhf: has joined #RubyOnRails
[07:04:27] hmnhf: Ping timeout: 258 seconds

2015-05-31

[09:10:08] hmnhf: has joined #ruby
[09:10:08] hmnhf: has joined #RubyOnRails
[16:19:23] hmnhf: Read error: Connection reset by peer
[17:38:13] hmnhf: has joined #ruby
[17:38:13] hmnhf: has joined #RubyOnRails
[17:41:33] hmnhf: Quit: Konversation terminated!

2015-05-27

[05:24:33] hmnhf: Ping timeout: 240 seconds
[06:06:39] hmnhf: has joined #ruby
[06:06:39] hmnhf: has joined #RubyOnRails
[06:08:27] hmnhf: Read error: Connection reset by peer
[12:16:03] hmnhf: has joined #RubyOnRails
[12:16:04] hmnhf: has joined #ruby
[16:47:01] hmnhf: Read error: Connection reset by peer
[17:42:37] hmnhf: has joined #ruby
[17:42:37] hmnhf: has joined #RubyOnRails
[19:27:53] hmnhf: Ping timeout: 244 seconds
[19:28:10] hmnhf: has joined #RubyOnRails
[19:28:11] hmnhf: has joined #ruby
[20:09:35] hmnhf: Ping timeout: 246 seconds

2015-05-26

[14:07:38] hmnhf: has joined #ruby
[14:07:38] hmnhf: has joined #RubyOnRails
[16:15:53] hmnhf: Ping timeout: 250 seconds
[17:35:32] hmnhf: has joined #ruby
[17:35:32] hmnhf: has joined #RubyOnRails

2015-03-17

[12:21:39] hmnhf: Hi everyone, I'm encountering the very same issue posted here: https://github.com/mongoid/mongoid/issues/3256
[12:21:50] hmnhf: The weird thing is that I'm creating instances of a model the same way, and in some cases created_at becomes nil.
[12:21:56] hmnhf: Does anyone knows what's going on?
[12:22:43] hmnhf: And it's not an embedded document.

2014-09-10

[19:42:15] hmnhf: sheperson: check this out :) http://www.readingcodegood.com/

2014-07-27

[14:12:42] hmnhf: pwk: restart your rails server, and if it worked then check this: https://stackoverflow.com/questions/18270945/rails-server-needs-restart-every-time-i-make-changes-why
[14:20:19] hmnhf: pwk: glad to hear that :)

2014-07-24

[14:06:21] hmnhf: robscormack: it seems you were right, heroku's filesystem is read only and images that can be uploaded from a form are some how cached. :)
[14:20:16] hmnhf: workmad3: thanks for the information :)

2014-07-23

[12:24:04] hmnhf: Hi guys, I'm running a task for importing some data including some image urls that are handled with carrierwave, it's working in my localhost, and images are loaded perfectly
[12:24:18] hmnhf: but on heroku image urls return 404 error
[12:26:34] hmnhf: robscormack can you explain what's the differnce between uploading from a form and from a task, because i can upload my images using a form on heroku and they get stored.
[12:27:31] hmnhf: here it is:
[12:27:32] hmnhf: https://github.com/nutamito/persianpreneur/blob/master/lib/tasks/import.rake
[12:29:32] hmnhf: elaptics thanks for the tip :)
[12:31:33] hmnhf: and i saw a couple of stackoverflow topics with the same problem but none of them helped me to solve this issue.
[12:33:44] hmnhf: elapstics yes, it's asynchronous.
[12:40:08] hmnhf: actually i'm getting a routing error, here
[12:40:09] hmnhf: https://gist.github.com/nutamito/cb966097e91a07c5176f
[12:44:49] hmnhf: robscormack no, you can see my image_uploader.rb here
[12:44:50] hmnhf: https://github.com/nutamito/persianpreneur/blob/master/app/uploaders/image_uploader.rb
[12:47:45] hmnhf: ah, i changed my heroku repo to /assets/..., forgot that.
[12:49:36] hmnhf: elapstic: yes.
[12:51:11] hmnhf: wolland: I'll try it.