Milos

Activity Graph

Page 1 of 1

2019-07-14

[19:33:46] Milos: Quit: ZNC 1.7.3 - https://znc.in
[19:41:43] Milos: has joined #RubyOnRails
[19:41:43] Milos: has joined #ruby

2019-06-19

[05:27:59] Milos: Excess Flood
[05:34:11] Milos: Max SendQ exceeded
[05:36:10] Milos: has joined #RubyOnRails
[05:36:10] Milos: has joined #ruby

2019-06-04

[20:20:30] Milos: Ping timeout: 258 seconds
[20:45:19] Milos: has joined #ruby

2019-05-15

[04:13:11] Milos: Quit: ZNC 1.7.3 - https://znc.in
[04:20:21] Milos: has joined #RubyOnRails
[04:20:21] Milos: has joined #ruby

2019-05-06

[19:39:26] Milos: Ping timeout: 248 seconds
[21:09:33] Milos: Quit: ZNC 1.7.3 - https://znc.in
[21:12:09] Milos: has joined #RubyOnRails
[21:12:09] Milos: has joined #ruby

2019-05-05

[03:37:20] Milos: Quit: ZNC 1.7.3 - https://znc.in
[04:07:15] Milos: has joined #RubyOnRails
[04:07:15] Milos: has joined #ruby
[04:18:03] Milos: Quit: ZNC 1.7.3 - https://znc.in
[04:22:28] Milos: has joined #RubyOnRails
[04:22:28] Milos: has joined #ruby

2019-05-04

[03:57:39] Milos: Ping timeout: 246 seconds
[04:13:42] Milos: has joined #RubyOnRails
[04:13:42] Milos: has joined #ruby
[04:25:27] Milos: Ping timeout: 245 seconds
[04:37:56] Milos: has joined #RubyOnRails
[04:37:56] Milos: has joined #ruby
[06:53:39] Milos: Quit: ZNC 1.7.3 - https://znc.in
[06:56:19] Milos: has joined #RubyOnRails
[06:56:19] Milos: has joined #ruby

2019-04-13

[16:50:14] Milos: *.net *.split

2019-04-11

[00:32:17] Milos: Remote host closed the connection
[00:36:37] Milos: has joined #RubyOnRails
[00:36:37] Milos: has joined #ruby

2019-04-01

[12:19:00] Milos: Ping timeout: 246 seconds
[12:36:39] Milos: has joined #ruby

2019-03-31

[01:35:48] Milos: Ping timeout: 246 seconds
[01:40:03] Milos: has joined #RubyOnRails
[01:40:03] Milos: has joined #ruby

2019-03-27

[08:10:25] Milos: Ping timeout: 246 seconds
[08:13:29] Milos: has joined #RubyOnRails
[08:13:29] Milos: has joined #ruby
[08:18:30] Milos: Ping timeout: 268 seconds
[08:52:53] Milos: has joined #RubyOnRails
[08:52:53] Milos: has joined #ruby

2019-03-23

[07:14:42] Milos: Ping timeout: 268 seconds
[07:24:15] Milos: has joined #RubyOnRails
[07:24:15] Milos: has joined #ruby

2019-03-13

[19:05:21] Milos: Remote host closed the connection
[19:06:33] Milos: has joined #ruby
[19:06:34] Milos: has joined #RubyOnRails

2019-03-09

[09:31:07] Milos: Ping timeout: 240 seconds
[09:33:44] Milos: has joined #RubyOnRails
[09:33:44] Milos: has joined #ruby

2019-02-07

[05:43:52] Milos: Quit: ZNC 1.7.1 - https://znc.in
[05:47:35] Milos: has joined #RubyOnRails
[05:47:35] Milos: has joined #ruby

2019-02-02

[23:28:04] Milos: Read error: Connection reset by peer
[23:33:42] Milos: has joined #RubyOnRails
[23:33:42] Milos: has joined #ruby

2019-01-30

[05:49:36] Milos: Ping timeout: 246 seconds
[06:07:28] Milos: has joined #RubyOnRails
[06:07:28] Milos: has joined #ruby

2019-01-21

[05:43:32] Milos: Quit: ZNC 1.7.1 - https://znc.in
[05:46:24] Milos: has joined #RubyOnRails
[05:46:24] Milos: has joined #ruby

2019-01-01

[03:40:25] Milos: Quit: ZNC 1.7.1 - https://znc.in
[03:41:39] Milos: has joined #RubyOnRails
[03:41:39] Milos: has joined #ruby

2018-12-30

[10:08:23] Milos: Remote host closed the connection
[10:08:36] Milos: has joined #RubyOnRails
[10:08:36] Milos: has joined #ruby

2018-12-28

[03:11:25] Milos: Quit: ZNC 1.7.1 - https://znc.in
[03:12:10] Milos: has joined #RubyOnRails
[03:12:10] Milos: has joined #ruby

2018-12-25

[01:26:44] Milos: Quit: ZNC 1.7.1 - https://znc.in
[02:12:42] Milos: has joined #RubyOnRails
[02:12:42] Milos: has joined #ruby

2018-12-17

[04:48:41] Milos: Quit: ZNC 1.7.1 - https://znc.in
[10:17:18] Milos: has joined #ruby
[10:17:19] Milos: has joined #RubyOnRails

2018-11-27

[06:17:55] Milos: Quit: ZNC 1.7.1 - https://znc.in
[06:18:07] Milos: has joined #ruby
[06:18:08] Milos: has joined #RubyOnRails

2018-11-26

[20:23:53] Milos: Remote host closed the connection
[20:25:18] Milos: has joined #RubyOnRails
[20:25:18] Milos: has joined #ruby

2018-11-21

[06:37:27] Milos: Quit: ZNC 1.7.1 - https://znc.in
[06:40:35] Milos: has joined #RubyOnRails
[06:40:35] Milos: has joined #ruby
[06:43:58] Milos: Max SendQ exceeded
[06:45:00] Milos: has joined #RubyOnRails
[06:45:00] Milos: has joined #ruby

2018-11-07

[00:19:32] Milos: Max SendQ exceeded
[00:20:40] Milos: has joined #RubyOnRails
[00:20:41] Milos: has joined #ruby

2018-11-03

[01:33:06] Milos: Ping timeout: 246 seconds
[01:39:09] Milos: Max SendQ exceeded
[01:39:46] Milos: has joined #ruby
[01:39:46] Milos: has joined #RubyOnRails
[16:29:36] Milos: Max SendQ exceeded
[16:32:14] Milos: has joined #ruby
[16:32:14] Milos: has joined #RubyOnRails

2018-10-25

[03:39:09] Milos: has joined #ruby
[03:39:28] Milos: has joined #RubyOnRails

2018-05-04

[05:17:45] Milos: has left #RubyOnRails: ("Leaving")
[05:17:47] Milos: has left #ruby: ("Leaving")

2018-04-30

[12:20:18] Milos: Excess Flood
[12:21:59] Milos: has joined #ruby
[12:21:59] Milos: has joined #RubyOnRails

2018-04-25

[03:22:16] Milos: has joined #ruby
[03:23:14] Milos: has joined #RubyOnRails
[03:23:34] Milos: What's the number one left side of the rails console prompt?
[03:23:36] Milos: => "5.1.6"
[03:23:36] Milos: 2.4.0 :002 > Rails::VERSION::STRING
[03:23:36] Milos: => "2.5.0"
[03:23:36] Milos: 2.4.0 :001 > RUBY_VERSION
[03:23:53] Milos: s/one/on the/
[03:24:15] Milos: i.e. "2.4.0" in this example
[05:25:24] Milos: Quit: ZNC 1.6.5 - http://znc.in
[05:28:27] Milos: has joined #ruby
[05:28:27] Milos: has joined #RubyOnRails
[12:25:36] Milos: *.net *.split
[12:27:08] Milos: has joined #ruby
[12:27:30] Milos: has joined #RubyOnRails
[15:01:07] Milos: *.net *.split
[15:03:07] Milos: has joined #RubyOnRails
[15:03:27] Milos: has joined #ruby

2015-06-24

[09:33:55] Milos: has joined #RubyOnRails
[09:34:05] Milos: I've noticed the latency (time taken between asking for a request and getting a response) is larger with unicorn_rails than with rails server webrick? Why is that?
[14:34:03] Milos: Quit: Leaving

2014-12-21

[06:39:45] Milos: Beginner here, just installed rails, tried to geenrate a controller but got this error: https://bpaste.net/show/1caee4c5fdf9
[06:40:59] Milos: never mind
[06:41:13] Milos: distro-related, forgot to select ruby21 as my active ruby installation
[06:41:18] Milos: (which included rubygems)
[06:42:18] Milos: rushed, I understand what you mean, I'll have a play for now but I will have a look at using isolated environments in a bit
[12:44:46] Milos: if anyone uses mongodb/mongoid here that would be of great help
[12:44:57] Milos: I have a record, and let's say I want to add some more stuff to it
[12:45:17] Milos: let's say I want to add a custom attribute, and within it I want to add another attribute, and within that one another
[12:45:19] Milos: so I end up with
[12:45:22] Milos: first.second.third
[12:45:27] Milos: that works great IF the structure exists
[12:45:41] Milos: but for any pages where the record doesn't have that structure YET, it fails with
[12:45:45] Milos: undefined method `[]' for nil:NilClass
[12:46:05] Milos: how can I get it to basically ignore this error and/or realise that if that error is achieved, that the structure is simply optional
[12:47:06] Milos: in the mongodb console I can just go db.movies.update({_id: ObjectId('5495b8a36b7b656c9342f86b')}, {$set: {'first.second.third': 'value'}})
[12:47:14] Milos: and that will instanty create a hierarchy 3 items deep
[12:47:25] Milos: how does one achieve this with rails/mongoid?
[12:48:08] Milos: and similarly for retrieval, so that it doesn't give me an error when the structure is fully found?
[13:21:40] Milos: maybe if I rephrase - <%= f.label :'first.second.third' %><br> works as long as 'first.second' exists.
[13:22:05] Milos: if it doesn't exist (which is perfectly OK with mongodb), then I get "undefined method `[]' for nil:nilclass"
[13:22:47] Milos: so, is it possible to make this work? or is this going to force me to flatten my structure