sergey_makagon

Activity Graph

Page 1 of 2 | Next »

2016-07-24

[05:01:14] sergey_makagon: has joined #ruby
[05:01:14] sergey_makagon: has joined #RubyOnRails
[05:06:12] sergey_makagon: Ping timeout: 258 seconds
[06:43:28] sergey_makagon: has joined #ruby
[06:43:28] sergey_makagon: has joined #RubyOnRails
[16:10:26] sergey_makagon: has joined #ruby
[16:10:26] sergey_makagon: has joined #RubyOnRails
[17:03:48] sergey_makagon: Remote host closed the connection

2016-07-23

[19:28:57] sergey_makagon: has joined #ruby
[19:28:57] sergey_makagon: has joined #RubyOnRails
[19:44:05] sergey_makagon: I'm a bit stuck. Could you help me to solve problem i have. Need some advice: https://gist.github.com/smakagon/3c84480727b74ae3678277127b6d5cb6
[19:45:11] sergey_makagon: I want to create class macro which would allow form to have attributes
[19:45:19] sergey_makagon: like: attribute :title
[19:46:25] sergey_makagon: i tried to store attributes in instance variables, but of course it didn't work
[19:46:30] sergey_makagon: just need some direction
[19:48:40] sergey_makagon: ok, thanks, let me check
[19:57:43] sergey_makagon: ljarvis, thanks that worked well
[19:58:19] sergey_makagon: class instance variables was missing part)
[20:45:03] sergey_makagon: Remote host closed the connection
[20:45:20] sergey_makagon: has joined #ruby
[20:45:20] sergey_makagon: has joined #RubyOnRails
[20:52:04] sergey_makagon: Remote host closed the connection

2016-07-20

[18:02:57] sergey_makagon: has joined #ruby
[18:02:57] sergey_makagon: has joined #RubyOnRails

2016-07-17

[09:19:40] sergey_makagon: has joined #ruby
[09:19:40] sergey_makagon: has joined #RubyOnRails
[09:45:21] sergey_makagon: Remote host closed the connection
[10:16:05] sergey_makagon: has joined #ruby
[10:16:05] sergey_makagon: has joined #RubyOnRails
[11:18:27] sergey_makagon: Remote host closed the connection
[12:09:09] sergey_makagon: has joined #ruby
[12:09:09] sergey_makagon: has joined #RubyOnRails

2016-07-16

[06:04:34] sergey_makagon: has joined #ruby
[06:04:34] sergey_makagon: has joined #RubyOnRails
[11:15:36] sergey_makagon: Remote host closed the connection
[11:39:55] sergey_makagon: has joined #RubyOnRails
[11:39:56] sergey_makagon: has joined #ruby
[11:56:08] sergey_makagon: Remote host closed the connection
[12:56:43] sergey_makagon: has joined #ruby
[12:56:43] sergey_makagon: has joined #RubyOnRails
[13:01:04] sergey_makagon: Ping timeout: 240 seconds
[18:43:26] sergey_makagon: has joined #ruby
[18:43:26] sergey_makagon: has joined #RubyOnRails

2016-07-15

[18:54:09] sergey_makagon: has joined #ruby
[18:54:09] sergey_makagon: has joined #RubyOnRails
[20:26:26] sergey_makagon: Remote host closed the connection
[20:29:40] sergey_makagon: has joined #RubyOnRails
[20:29:41] sergey_makagon: has joined #ruby
[21:02:11] sergey_makagon: Remote host closed the connection

2016-07-13

[09:22:33] sergey_makagon: has joined #ruby
[09:22:33] sergey_makagon: has joined #RubyOnRails
[11:39:52] sergey_makagon: Ping timeout: 252 seconds

2016-07-12

[13:50:08] sergey_makagon: has joined #ruby
[13:50:08] sergey_makagon: has joined #RubyOnRails
[16:48:54] sergey_makagon: has joined #ruby
[16:48:54] sergey_makagon: has joined #RubyOnRails
[19:24:04] sergey_makagon: has joined #ruby
[19:24:04] sergey_makagon: has joined #RubyOnRails

2016-07-09

[13:35:35] sergey_makagon: has joined #ruby
[13:35:35] sergey_makagon: has joined #RubyOnRails
[13:56:32] sergey_makagon: Remote host closed the connection
[13:59:39] sergey_makagon: has joined #ruby
[13:59:39] sergey_makagon: has joined #RubyOnRails
[14:27:45] sergey_makagon: Remote host closed the connection
[14:28:12] sergey_makagon: has joined #ruby
[14:28:12] sergey_makagon: has joined #RubyOnRails
[15:14:12] sergey_makagon: Remote host closed the connection
[15:58:25] sergey_makagon: has joined #ruby
[15:58:25] sergey_makagon: has joined #RubyOnRails
[19:10:35] sergey_makagon: has joined #ruby
[19:10:35] sergey_makagon: has joined #RubyOnRails

2016-06-27

[12:32:02] sergey_makagon: has joined #ruby
[12:32:02] sergey_makagon: has joined #RubyOnRails
[13:04:29] sergey_makagon: Remote host closed the connection
[17:11:10] sergey_makagon: has joined #RubyOnRails
[17:11:11] sergey_makagon: has joined #ruby
[18:20:28] sergey_makagon: Remote host closed the connection
[18:21:10] sergey_makagon: has joined #ruby
[18:21:10] sergey_makagon: has joined #RubyOnRails
[18:21:11] sergey_makagon: Remote host closed the connection

2016-06-26

[05:06:52] sergey_makagon: has joined #ruby
[05:06:52] sergey_makagon: has joined #RubyOnRails
[05:11:39] sergey_makagon: Ping timeout: 276 seconds

2016-06-25

[19:37:21] sergey_makagon: has joined #ruby
[19:37:21] sergey_makagon: has joined #RubyOnRails
[20:38:17] sergey_makagon: Remote host closed the connection

2016-06-13

[12:36:37] sergey_makagon: has joined #ruby
[12:36:37] sergey_makagon: has joined #RubyOnRails

2016-06-12

[11:53:51] sergey_makagon: has joined #ruby
[11:53:51] sergey_makagon: has joined #RubyOnRails
[12:29:09] sergey_makagon: Remote host closed the connection
[12:32:10] sergey_makagon: has joined #ruby
[12:32:10] sergey_makagon: has joined #RubyOnRails
[12:37:49] sergey_makagon: Remote host closed the connection
[13:00:20] sergey_makagon: has joined #ruby
[13:00:20] sergey_makagon: has joined #RubyOnRails
[13:44:30] sergey_makagon: Remote host closed the connection
[14:10:55] sergey_makagon: has joined #RubyOnRails
[14:10:56] sergey_makagon: has joined #ruby
[14:15:10] sergey_makagon: Ping timeout: 244 seconds
[14:44:54] sergey_makagon: has joined #ruby
[14:44:54] sergey_makagon: has joined #RubyOnRails
[14:51:03] sergey_makagon: Ping timeout: 276 seconds
[15:42:06] sergey_makagon: has joined #ruby
[15:42:06] sergey_makagon: has joined #RubyOnRails
[17:52:47] sergey_makagon: ericli what logic do you want to have? In your example i see that you iterate over ports and if port is not 200 you return false in any other case you return true.
[17:54:05] sergey_makagon: ericli but each will not return any value for you in current implementation
[17:59:11] sergey_makagon: ericli map would return array of results, but each will not return anything even if you explicitly write it. Also you do the break which will be executed earlier than return
[17:59:39] sergey_makagon: ericli could you please describe problem in more details?
[18:03:20] sergey_makagon: ericli: what you want to get as a result? maybe something like hash: { 3000: true, 3001: false, 8000: true } etc ?
[18:10:36] sergey_makagon: i would say that this will solve your problem: ![80, 443, 4080].any? { |port| status_code(port) != 200 }
[18:16:41] sergey_makagon: yeah, but in my implementation it will not have to go through the all array of ports :P
[18:18:23] sergey_makagon: hmm, but maybe i'm wrong. all? will stop iterating if it's find false value as well.
[18:22:03] sergey_makagon: so yes, that's the beauty of Ruby)
[19:14:25] sergey_makagon: Remote host closed the connection
[19:47:24] sergey_makagon: has joined #ruby
[19:47:24] sergey_makagon: has joined #RubyOnRails
[19:47:29] sergey_makagon: Remote host closed the connection
[19:58:33] sergey_makagon: has joined #ruby
[19:58:33] sergey_makagon: has joined #RubyOnRails

2016-06-10

[14:11:03] sergey_makagon: has joined #ruby
[14:11:03] sergey_makagon: has joined #RubyOnRails
[17:25:03] sergey_makagon: has joined #ruby
[17:25:03] sergey_makagon: has joined #RubyOnRails
[17:38:22] sergey_makagon: Remote host closed the connection
[17:46:24] sergey_makagon: has joined #ruby
[17:46:24] sergey_makagon: has joined #RubyOnRails
[18:15:51] sergey_makagon: Ping timeout: 244 seconds
[18:24:23] sergey_makagon: has joined #ruby
[18:24:23] sergey_makagon: has joined #RubyOnRails
[19:09:49] sergey_makagon: Remote host closed the connection
[19:39:15] sergey_makagon: has joined #ruby
[19:39:15] sergey_makagon: has joined #RubyOnRails
[19:39:20] sergey_makagon: Remote host closed the connection

2016-06-09

[17:43:13] sergey_makagon: has joined #ruby
[17:43:13] sergey_makagon: has joined #RubyOnRails
[18:11:38] sergey_makagon: Remote host closed the connection
[18:17:07] sergey_makagon: has joined #ruby
[18:17:07] sergey_makagon: has joined #RubyOnRails
[18:17:16] sergey_makagon: Remote host closed the connection
[18:17:51] sergey_makagon: has joined #RubyOnRails
[18:17:52] sergey_makagon: has joined #ruby

2016-06-08

[13:53:29] sergey_makagon: has joined #ruby
[13:53:29] sergey_makagon: has joined #RubyOnRails

2016-06-05

[20:40:31] sergey_makagon: has joined #ruby
[20:40:31] sergey_makagon: has joined #RubyOnRails

2016-05-31

[11:33:56] sergey_makagon: has joined #ruby
[11:33:56] sergey_makagon: has joined #RubyOnRails
[14:28:34] sergey_makagon: Remote host closed the connection
[14:29:40] sergey_makagon: has joined #ruby
[14:29:40] sergey_makagon: has joined #RubyOnRails

2016-05-30

[21:38:39] sergey_makagon: has joined #ruby
[21:38:39] sergey_makagon: has joined #RubyOnRails

2016-05-17

[18:36:53] sergey_makagon: has joined #ruby
[18:36:53] sergey_makagon: has joined #RubyOnRails

2016-05-14

[13:14:36] sergey_makagon: has joined #ruby
[13:14:36] sergey_makagon: has joined #RubyOnRails
[13:16:49] sergey_makagon: Remote host closed the connection

2016-05-06

[19:32:35] sergey_makagon: has joined #ruby
[19:32:35] sergey_makagon: has joined #RubyOnRails

2016-04-27

[14:56:50] sergey_makagon: has joined #ruby
[14:56:50] sergey_makagon: has joined #RubyOnRails

2016-04-23

[07:20:00] sergey_makagon: has joined #ruby
[07:20:00] sergey_makagon: has joined #RubyOnRails

2016-04-11

[06:45:34] sergey_makagon: has joined #ruby
[06:45:34] sergey_makagon: has joined #RubyOnRails

2016-04-10

[18:07:40] sergey_makagon: has joined #ruby
[18:07:40] sergey_makagon: has joined #RubyOnRails
[19:25:04] sergey_makagon: Remote host closed the connection

2016-04-09

[20:33:43] sergey_makagon: has joined #ruby
[20:33:43] sergey_makagon: has joined #RubyOnRails

2016-04-07

[18:36:24] sergey_makagon: has joined #ruby
[18:36:24] sergey_makagon: has joined #RubyOnRails
[18:44:00] sergey_makagon: Remote host closed the connection
[18:51:41] sergey_makagon: has joined #ruby
[18:51:41] sergey_makagon: has joined #RubyOnRails

2016-04-04

[11:06:37] sergey_makagon: has joined #ruby
[11:06:37] sergey_makagon: has joined #RubyOnRails

2016-04-03

[07:10:44] sergey_makagon: has joined #ruby
[07:10:44] sergey_makagon: has joined #RubyOnRails

2016-04-02

[17:59:08] sergey_makagon: has joined #ruby
[17:59:08] sergey_makagon: has joined #RubyOnRails

2016-04-01

[06:56:06] sergey_makagon: has joined #ruby
[06:56:06] sergey_makagon: has joined #RubyOnRails
[16:41:32] sergey_makagon: Ping timeout: 260 seconds

2016-03-31

[19:17:51] sergey_makagon: has joined #ruby
[19:17:51] sergey_makagon: has joined #RubyOnRails
[19:33:48] sergey_makagon: Remote host closed the connection
[19:36:39] sergey_makagon: has joined #ruby
[19:36:39] sergey_makagon: has joined #RubyOnRails
[20:54:09] sergey_makagon: Remote host closed the connection
[21:00:21] sergey_makagon: has joined #ruby
[21:00:21] sergey_makagon: has joined #RubyOnRails

2016-03-26

[10:42:12] sergey_makagon: has joined #ruby
[10:42:12] sergey_makagon: has joined #RubyOnRails
[11:28:13] sergey_makagon: Remote host closed the connection
[13:27:38] sergey_makagon: has joined #ruby
[13:27:38] sergey_makagon: has joined #RubyOnRails
[14:14:48] sergey_makagon: Remote host closed the connection
[14:20:11] sergey_makagon: has joined #ruby
[14:20:11] sergey_makagon: has joined #RubyOnRails
[14:28:30] sergey_makagon: Remote host closed the connection
[15:06:51] sergey_makagon: has joined #ruby
[15:06:51] sergey_makagon: has joined #RubyOnRails
[15:08:03] sergey_makagon: Remote host closed the connection
[17:21:04] sergey_makagon: has joined #ruby
[17:21:04] sergey_makagon: has joined #RubyOnRails

2016-03-25

[07:56:19] sergey_makagon: has joined #ruby
[07:56:19] sergey_makagon: has joined #RubyOnRails
[10:28:48] sergey_makagon: Read error: Connection reset by peer
[10:28:54] sergey_makagon: has joined #RubyOnRails
[10:28:55] sergey_makagon: has joined #ruby

2016-03-24

[19:24:29] sergey_makagon: has joined #ruby
[19:43:41] sergey_makagon: Remote host closed the connection
[20:05:38] sergey_makagon: has joined #ruby
[20:05:38] sergey_makagon: has joined #RubyOnRails