voker57

Activity Graph

Page 1 of 4 | Next »

2019-08-22

[00:56:29] voker57: *.net *.split
[01:13:37] voker57: has joined #RubyOnRails
[01:13:50] voker57: has joined #ruby

2019-07-29

[09:09:08] voker57: .delete_if{|v| v == :a}
[09:09:14] voker57: also, it's key, not keyword
[09:09:45] voker57: .delete_if{|k, v| v == :a} *
[09:09:57] voker57: or just h.delete :a; h

2019-07-25

[10:40:52] voker57: his right, choose a different name or don't distribute thru rubygems

2019-07-22

[09:52:43] voker57: environment.rb is rails stuff, not ruby
[09:52:52] voker57: it basically does Encoding.default_internal= for you
[09:53:54] voker57: protip: run ruby with -U
[09:56:11] voker57: it should default to utf-8 if your locale is utf-8 but shit's complicated
[10:03:16] voker57: did you try running this code directly in ruby, w/o rails and other environment?
[10:04:12] voker57: why do you need -e?
[10:04:21] voker57: ruby yourfile.rb
[10:04:35] voker57: also can do with -e, yes
[10:27:29] voker57: yeah i also think second way is better
[10:28:06] voker57: eh, misread. s/yeah i also/i/
[10:28:52] voker57: because unless index_data_invalid becomes too hard to read
[10:42:29] voker57: hard to say, it's ancient history
[12:43:51] voker57: .map(&:letter) ?
[13:28:17] voker57: or join(",") if you want it more readable

2019-07-19

[10:51:59] voker57: I'd have a look at your link but it does not work without js, please paste to https://dpaste.de
[10:56:31] voker57: with_object is a method of Enumerator, you are calling it on a result of calling foo
[10:59:22] voker57: i'm not sure what you are trying to accomplish with this code
[11:05:43] voker57: you should return a Enumerator from method https://dpaste.de/WLgG
[11:06:56] voker57: if you yield, further transformations are difficult
[11:07:15] voker57: coz you have to supply block directly to that method
[11:33:21] voker57: Ring0`: https://dpaste.de/vbD3
[11:38:03] voker57: y is an argument to a block
[11:38:09] voker57: it is supplied by Enumerator.new
[11:38:38] voker57: no, y is not an array
[11:38:43] voker57: it's an "yielder object"
[11:38:57] voker57: https://ruby-doc.org/core-2.6/Enumerator.html#method-c-new
[11:40:48] voker57: it has #yield which adds object to enumeration
[11:40:55] voker57: that's all you supposed to know
[11:42:14] voker57: it might not even be the same object on every loop
[11:54:38] voker57: maybe httparty does retries for you?
[12:17:10] voker57: https://ruby-doc.org/stdlib-2.6.3/libdoc/net/http/rdoc/Net/HTTP.html#method-i-max_retries-3D

2019-07-15

[06:50:37] voker57: *.net *.split
[07:16:17] voker57: has joined #RubyOnRails
[07:16:22] voker57: has joined #ruby
[08:26:26] voker57: *.net *.split
[08:36:26] voker57: has joined #ruby
[08:36:26] voker57: has joined #RubyOnRails

2019-07-07

[06:08:01] voker57: *.net *.split
[06:18:25] voker57: has joined #RubyOnRails
[06:18:30] voker57: has joined #ruby

2019-07-04

[14:21:32] voker57: Quit: voker57
[15:44:53] voker57: has joined #ruby
[15:44:53] voker57: has joined #RubyOnRails
[15:55:00] voker57: Quit: voker57
[15:55:10] voker57: has joined #RubyOnRails
[15:55:11] voker57: has joined #ruby

2019-07-02

[01:07:10] voker57: Remote host closed the connection
[01:27:31] voker57: has joined #ruby
[01:27:32] voker57: has joined #RubyOnRails

2019-06-27

[00:06:30] voker57: *.net *.split
[00:06:40] voker57: has joined #RubyOnRails
[00:06:40] voker57: has joined #ruby

2019-05-12

[08:39:10] voker57: any idea why "rails r" does not output anything if STDOUT is redirected?

2019-04-25

[11:43:12] voker57: Quit: No Ping reply in 180 seconds.
[11:44:31] voker57: has joined #RubyOnRails
[11:44:31] voker57: has joined #ruby

2019-04-13

[16:49:51] voker57: *.net *.split

2019-03-09

[20:06:28] voker57: Ping timeout: 252 seconds

2018-11-02

[18:51:37] voker57: Quit: No Ping reply in 180 seconds.
[18:52:55] voker57: has joined #ruby
[18:52:56] voker57: has joined #RubyOnRails

2018-09-04

[06:32:58] voker57: has joined #RubyOnRails

2018-08-20

[20:08:58] voker57: Quit: No Ping reply in 180 seconds.

2018-08-14

[00:57:12] voker57: *.net *.split
[01:04:29] voker57: has joined #RubyOnRails

2018-07-23

[15:21:02] voker57: Ping timeout: 256 seconds

2018-07-20

[00:07:21] voker57: *.net *.split
[00:15:42] voker57: has joined #ruby

2018-07-10

[00:09:13] voker57: has joined #ruby
[00:09:14] voker57: has joined #ruby
[00:09:14] voker57: Changing host
[00:21:11] voker57: Remote host closed the connection
[00:24:50] voker57: has joined #ruby
[00:24:51] voker57: has joined #ruby
[00:24:51] voker57: Changing host

2018-07-09

[23:55:30] voker57: Remote host closed the connection

2018-05-29

[02:47:08] voker57: *.net *.split
[02:48:06] voker57: has joined #ruby
[04:06:30] voker57: Remote host closed the connection
[04:06:37] voker57: has joined #ruby

2018-05-09

[22:47:02] voker57: has joined #ruby
[22:47:02] voker57: Changing host

2018-05-07

[20:53:22] voker57: *.net *.split

2018-05-02

[20:04:34] voker57: Remote host closed the connection
[20:21:22] voker57: has joined #ruby

2018-04-27

[19:00:24] voker57: MrPunkin: smth like .encode(undef: :replace, replace: "")
[19:04:08] voker57: generate model ... --skip-migrations

2018-04-25

[12:25:47] voker57: *.net *.split
[12:27:24] voker57: has joined #ruby
[12:27:33] voker57: has joined #RubyOnRails
[15:01:18] voker57: *.net *.split
[15:03:05] voker57: has joined #RubyOnRails
[15:03:13] voker57: has joined #ruby

2018-04-10

[15:33:37] voker57: has joined #RubyOnRails
[15:34:45] voker57: Is there a way to easily use SQL interpolation in .select? .select("smth > ?", 5) raises error, looks like it does not take hashes/arrays of arguments to interpolate
[16:09:10] voker57: mr-robert: it also can take SQL to select non-columns, and that's where I need interpolation
[16:09:44] voker57: my example might be misleading: it's rather like "smth + ?"
[21:35:49] voker57: render file: 'public/index.html'
[21:45:48] voker57: atchoum: is one line in controller not easy enough?
[21:46:35] voker57: also I'm not sure I understand what do you mean by totally static frontend
[21:51:01] voker57: api will be in rails? what should be static then? starting page?
[21:51:48] voker57: and what exactly are you concerned with that is related to rails?

2018-03-23

[00:09:49] voker57: has joined #ruby
[00:09:53] voker57: has joined #ruby
[00:09:53] voker57: Changing host

2018-03-22

[22:41:09] voker57: Read error: Connection reset by peer

2018-03-20

[02:36:49] voker57: Remote host closed the connection
[02:36:56] voker57: has joined #ruby

2018-03-08

[03:24:35] voker57: Ping timeout: 276 seconds
[11:34:09] voker57: has joined #ruby
[11:34:09] voker57: Changing host
[11:34:09] voker57: has joined #ruby

2018-01-18

[01:55:15] voker57: *.net *.split
[01:55:27] voker57: has joined #ruby
[01:55:27] voker57: Changing host
[01:55:27] voker57: has joined #ruby
[02:06:11] voker57: Remote host closed the connection
[02:15:59] voker57: has joined #ruby
[02:15:59] voker57: Changing host
[02:15:59] voker57: has joined #ruby

2018-01-12

[13:18:30] voker57: Remote host closed the connection
[13:20:05] voker57: has joined #ruby
[13:20:05] voker57: Changing host
[13:20:05] voker57: has joined #ruby

2018-01-02

[15:12:08] voker57: Remote host closed the connection
[15:20:46] voker57: has joined #ruby
[15:20:46] voker57: Changing host
[15:20:46] voker57: has joined #ruby

2017-12-29

[19:05:40] voker57: Quit: No Ping reply in 180 seconds.
[19:06:57] voker57: has joined #ruby
[19:06:57] voker57: Changing host
[19:06:57] voker57: has joined #ruby

2017-12-19

[19:51:39] voker57: Quit: No Ping reply in 180 seconds.
[19:52:56] voker57: has joined #ruby

2017-12-17

[11:29:24] voker57: Remote host closed the connection
[11:30:49] voker57: has joined #ruby
[11:30:49] voker57: Changing host
[11:30:49] voker57: has joined #ruby

2017-12-15

[09:10:57] voker57: Quit: No Ping reply in 180 seconds.
[09:12:18] voker57: has joined #ruby

2017-12-06

[20:31:12] voker57: *.net *.split
[20:47:56] voker57: has joined #ruby

2017-12-01

[02:28:49] voker57: has joined #ruby
[20:08:57] voker57: Remote host closed the connection
[20:10:03] voker57: has joined #ruby
[20:10:03] voker57: Changing host
[20:10:03] voker57: has joined #ruby

2017-11-16

[12:45:25] voker57: Remote host closed the connection
[12:50:23] voker57: has joined #ruby
[12:50:23] voker57: Changing host
[12:50:23] voker57: has joined #ruby

2017-09-27

[18:52:33] voker57: Remote host closed the connection
[18:53:39] voker57: has joined #ruby
[18:53:39] voker57: Changing host
[18:53:39] voker57: has joined #ruby

2017-09-13

[19:39:13] voker57: Ping timeout: 255 seconds
[19:39:38] voker57: has joined #ruby
[19:39:38] voker57: Changing host
[19:39:38] voker57: has joined #ruby

2017-08-12

[12:12:03] voker57: probably rvm
[12:12:37] voker57: you can install arbitrary number of rubies simultaneously in gentoo?
[15:37:04] voker57: puts some formatted text into socket (?), prints stderr and stdout

2017-06-20

[00:17:13] voker57: *.net *.split
[00:23:06] voker57: has joined #ruby

2017-06-13

[08:02:57] voker57: has joined #ruby

2017-04-06

[14:15:59] voker57: Ping timeout: 255 seconds
[14:16:06] voker57: has joined #RubyOnRails
[14:16:06] voker57: has joined #ruby
[14:16:06] voker57: Changing host
[14:16:06] voker57: has joined #ruby
[14:16:06] voker57: has joined #RubyOnRails

2016-07-07

[15:39:40] voker57: has joined #ruby
[15:39:40] voker57: has joined #RubyOnRails
[15:39:40] voker57: Changing host

2016-06-05

[10:53:36] voker57: Ping timeout: 260 seconds

2016-05-18

[20:29:39] voker57: Remote host closed the connection
[20:30:47] voker57: has joined #ruby
[20:30:47] voker57: has joined #RubyOnRails
[20:30:47] voker57: Changing host
[20:30:47] voker57: has joined #RubyOnRails
[20:30:47] voker57: has joined #ruby

2016-04-24

[19:17:24] voker57: is it possible to send_file without Content-Disposition being set?
[19:20:55] voker57: smathy: :disposition - specifies whether the file will be shown inline or downloaded. Valid values are 'inline' and 'attachment' (default).
[19:21:48] voker57: yes, I don't want to see Content-Disposition header at all
[19:22:26] voker57: because some browsers behave weird and download even "inline" disposition files
[19:26:57] voker57: smathy: yes. if Content-disposition is not set, file is displayed inline.
[19:27:27] voker57: hmm actually let me check it

2016-04-16

[22:54:13] voker57: how can I make rails not send Content-Type? response.headers["Content-Type"] = nil does not appear to work
[23:02:31] voker57: fryguy: if I do 'render nothing, content_type: nil' it still sends "Content-Type: ;charset=utf8"

2016-03-09

[04:50:21] voker57: Remote host closed the connection
[04:52:27] voker57: has joined #ruby
[04:52:28] voker57: has joined #ruby
[04:52:28] voker57: has joined #RubyOnRails
[04:52:28] voker57: Changing host
[04:52:28] voker57: has joined #RubyOnRails

2016-03-04

[17:07:34] voker57: Ping timeout: 260 seconds
[17:08:18] voker57: has joined #ruby
[17:08:18] voker57: has joined #RubyOnRails
[17:08:18] voker57: Changing host
[17:08:18] voker57: has joined #RubyOnRails
[17:08:18] voker57: has joined #ruby

2016-03-03

[03:26:39] voker57: has joined #RubyOnRails
[03:26:39] voker57: has joined #ruby
[03:26:42] voker57: has joined #ruby
[03:26:42] voker57: has joined #RubyOnRails
[03:26:42] voker57: Changing host
[07:34:57] voker57: Read error: Connection reset by peer
[07:36:03] voker57: has joined #ruby
[07:36:03] voker57: has joined #RubyOnRails
[07:36:03] voker57: Changing host
[07:36:03] voker57: has joined #RubyOnRails
[07:36:03] voker57: has joined #ruby
[14:44:24] voker57: Ping timeout: 260 seconds
[14:44:46] voker57: has joined #ruby
[14:44:46] voker57: has joined #RubyOnRails
[14:44:46] voker57: Changing host
[14:44:46] voker57: has joined #RubyOnRails
[14:44:46] voker57: has joined #ruby
[17:11:04] voker57: Read error: Connection reset by peer
[17:12:10] voker57: has joined #ruby
[17:12:10] voker57: has joined #RubyOnRails
[17:12:10] voker57: Changing host
[17:12:10] voker57: has joined #RubyOnRails
[17:12:10] voker57: has joined #ruby
[20:40:03] voker57: Read error: Connection reset by peer
[20:40:27] voker57: has joined #ruby
[20:40:27] voker57: has joined #RubyOnRails
[20:40:27] voker57: Changing host
[20:40:27] voker57: has joined #RubyOnRails
[20:40:27] voker57: has joined #ruby
[22:00:31] voker57: Read error: Connection reset by peer
[22:01:37] voker57: has joined #ruby
[22:01:37] voker57: has joined #RubyOnRails
[22:01:37] voker57: Changing host
[22:01:37] voker57: has joined #RubyOnRails
[22:01:37] voker57: has joined #ruby

2016-03-02

[16:15:37] voker57: Read error: Connection reset by peer