redondos

Activity Graph

Page 1 of 1

2018-06-07

[18:00:19] redondos: Quit: ZNC - http://znc.in

2018-05-29

[11:40:15] redondos: has joined #ruby
[11:40:15] redondos: Changing host
[11:40:15] redondos: has joined #ruby

2018-04-25

[12:25:50] redondos: *.net *.split
[12:27:27] redondos: has joined #ruby
[15:01:21] redondos: *.net *.split
[15:03:11] redondos: has joined #ruby

2018-03-16

[16:03:02] redondos: *.net *.split
[16:42:58] redondos: has joined #ruby

2018-03-09

[22:22:45] redondos: Ping timeout: 256 seconds
[22:33:48] redondos: has joined #ruby

2018-03-06

[14:09:30] redondos: Ping timeout: 256 seconds
[14:26:32] redondos: has joined #ruby
[14:26:32] redondos: Changing host
[14:26:32] redondos: has joined #ruby

2017-12-27

[07:48:13] redondos: Ping timeout: 256 seconds
[07:55:11] redondos: has joined #ruby

2017-12-12

[21:29:43] redondos: has joined #ruby

2017-12-09

[05:06:26] redondos: *.net *.split
[05:14:00] redondos: has joined #ruby

2017-12-07

[14:48:36] redondos: *.net *.split
[14:55:09] redondos: has joined #ruby

2017-12-01

[02:28:58] redondos: has joined #ruby

2017-11-07

[10:21:55] redondos: has joined #ruby

2017-11-05

[21:54:37] redondos: Ping timeout: 260 seconds

2017-11-04

[04:01:25] redondos: has joined #ruby

2017-10-31

[10:04:03] redondos: Ping timeout: 260 seconds

2017-10-17

[04:04:05] redondos: has joined #ruby
[04:04:05] redondos: Changing host
[04:04:05] redondos: has joined #ruby

2017-10-16

[06:26:58] redondos: Ping timeout: 269 seconds

2017-10-10

[08:24:45] redondos: has joined #ruby

2017-10-06

[02:15:02] redondos: Ping timeout: 240 seconds

2017-10-03

[20:42:18] redondos: has joined #ruby

2017-09-25

[00:12:55] redondos: Quit: ZNC - http://znc.in

2017-09-15

[16:15:39] redondos: has joined #ruby
[16:15:39] redondos: Changing host
[16:15:39] redondos: has joined #ruby

2017-09-08

[00:34:52] redondos: Ping timeout: 260 seconds

2017-09-03

[04:03:41] redondos: has joined #ruby

2017-08-31

[23:29:41] redondos: Ping timeout: 240 seconds

2017-08-15

[19:03:59] redondos: has joined #ruby

2017-08-14

[23:58:00] redondos: Ping timeout: 240 seconds

2017-08-12

[14:50:45] redondos: has joined #ruby

2017-08-10

[12:48:51] redondos: Quit: ZNC - http://znc.in

2017-06-23

[14:48:27] redondos: has joined #ruby

2017-06-19

[21:21:42] redondos: *.net *.split

2017-05-29

[19:53:20] redondos: has joined #ruby

2017-05-23

[12:11:48] redondos: Ping timeout: 260 seconds

2017-04-04

[05:14:21] redondos: *.net *.split

2017-03-30

[17:59:34] redondos: Ping timeout: 276 seconds
[18:00:44] redondos: has joined #ruby

2016-07-22

[08:11:31] redondos: Ping timeout: 244 seconds
[08:13:53] redondos: has joined #ruby

2016-07-05

[15:12:44] redondos: has left #RubyOnRails: ()

2016-04-17

[11:19:44] redondos: Ping timeout: 244 seconds
[11:23:00] redondos: has joined #RubyOnRails
[11:23:01] redondos: has joined #ruby

2016-04-14

[20:32:54] redondos: Quit: ZNC - http://znc.in
[20:50:51] redondos: has joined #ruby
[20:50:51] redondos: has joined #RubyOnRails
[20:57:02] redondos: Quit: ZNC - http://znc.in
[21:02:56] redondos: has joined #ruby
[21:02:56] redondos: has joined #RubyOnRails

2016-03-30

[13:19:26] redondos: Ping timeout: 248 seconds
[13:22:00] redondos: has joined #ruby
[13:22:00] redondos: has joined #RubyOnRails

2016-03-21

[05:12:51] redondos: Ping timeout: 268 seconds
[05:14:31] redondos: has joined #ruby
[05:14:31] redondos: has joined #RubyOnRails

2016-02-15

[22:25:02] redondos: Ping timeout: 252 seconds
[22:28:56] redondos: has joined #ruby
[22:28:56] redondos: has joined #RubyOnRails

2016-02-04

[04:19:08] redondos: Ping timeout: 260 seconds
[04:20:14] redondos: has joined #ruby
[04:20:14] redondos: has joined #RubyOnRails
[12:53:57] redondos: Ping timeout: 240 seconds
[12:54:18] redondos: has joined #RubyOnRails
[12:54:18] redondos: has joined #ruby
[12:54:18] redondos: Changing host
[12:54:18] redondos: has joined #ruby
[12:54:18] redondos: has joined #RubyOnRails

2016-01-02

[00:00:50] redondos: Ping timeout: 240 seconds
[00:01:18] redondos: has joined #ruby
[00:01:18] redondos: has joined #RubyOnRails

2015-12-14

[11:40:18] redondos: Ping timeout: 272 seconds
[11:43:03] redondos: has joined #ruby
[11:43:03] redondos: has joined #RubyOnRails

2015-12-10

[08:05:36] redondos: Ping timeout: 244 seconds
[08:11:32] redondos: has joined #RubyOnRails
[08:11:33] redondos: has joined #ruby

2015-12-02

[15:37:29] redondos: *.net *.split
[15:41:40] redondos: has joined #ruby
[15:41:50] redondos: has joined #RubyOnRails
[15:51:21] redondos: *.net *.split
[16:47:55] redondos: has joined #ruby
[16:48:09] redondos: has joined #RubyOnRails

2015-11-30

[03:07:07] redondos: Ping timeout: 260 seconds
[03:08:58] redondos: has joined #RubyOnRails
[03:08:59] redondos: has joined #ruby

2015-11-26

[19:05:03] redondos: has joined #ruby
[19:05:03] redondos: has joined #RubyOnRails

2015-11-17

[05:00:09] redondos: Ping timeout: 246 seconds
[05:02:18] redondos: has joined #ruby
[05:02:18] redondos: has joined #RubyOnRails
[05:25:21] redondos: *.net *.split

2015-11-16

[06:27:47] redondos: Ping timeout: 260 seconds
[06:28:14] redondos: has joined #ruby
[06:28:14] redondos: has joined #RubyOnRails

2015-10-16

[00:08:47] redondos: has joined #RubyOnRails
[00:08:56] redondos: has joined #ruby

2015-09-10

[14:03:45] redondos: Ping timeout: 246 seconds
[14:06:44] redondos: has joined #ruby
[14:06:44] redondos: has joined #RubyOnRails

2015-08-16

[07:06:47] redondos: Ping timeout: 255 seconds

2015-08-15

[01:46:28] redondos: how can i define a route based on a regex? i'd like it to match 3 digits, e.g. /333 but not /aaa or /4444

2015-08-14

[18:42:33] redondos: is it possible that something seems to be catching ActionController::UnknownFormat depending on the value of config.consider_all_requests_local?
[19:32:42] redondos: why is rails redirecting to non-existent routes such as /500? is this configurable? e.g. when ActionController::UnknownFormat is raised, rails redirects to /406 (the proper status code, but a route that doesn't exist)
[19:34:36] redondos: tubbo: no, i don't
[19:35:42] redondos: i believe it only happens when consider_all_requests_local is false, since when it's true processing stops and i get an error page returned instead of the redirect
[19:36:35] redondos: so i would e.g. get the exception displayed with a backtrace on the browser
[19:37:24] redondos: i've been scratching my head for a while about this, i might just create those routes so i can handle them properly (awful, i know)

2015-08-11

[16:31:40] redondos: I don't have a route specified for "/500", why is it that when I GET http://localhost:3000/500 I get the "We're sorry, but something went wrong." page instead of a 404?
[16:31:56] redondos: is this route hardcoded and reserved?
[16:32:46] redondos: the logs don't even show the request
[16:33:54] redondos: pothibo: thank you. do you know where I can read more about it?
[16:34:33] redondos: oh that's why I don't see anything in the logs, it's in /public. duh
[16:35:06] redondos: right, thanks
[16:39:31] redondos: gambl0re: you may be in the wrong channel

2015-08-07

[10:45:05] redondos: *.net *.split
[10:49:18] redondos: has joined #RubyOnRails
[10:49:21] redondos: has joined #ruby

2015-08-05

[21:02:09] redondos: has joined #RubyOnRails
[21:02:39] redondos: hello. how can i change the format of a request? e.g. serve the html template when somebody requests foo.bar
[21:02:52] redondos: rather, /foo.bar

2015-07-28

[19:15:31] redondos: is it possible to add a bundle config to a Gemfile? (e.g. I want the Gemfile to reflect `bundle config build.nokogiri --use-system-libraries' without having to actually run that command)
[19:17:40] redondos: I've noticed what the command does is very simple:
[19:17:48] redondos: $GEM_HOME $ cat build_info/nokogiri-1.6.6.2.info
[19:17:49] redondos: --use-system-libraries
[19:18:13] redondos: but I don't want to have to maintain that file, I'd rather have bundle do that for me if possible
[19:19:25] redondos: this is not for my workstation, but a production server (whether or not it's a good idea to build libraries on the box is a topic for another day)
[19:20:24] redondos: i am trying to get my configuration management or deployment script to inject that so bundler does the Right Thing
[19:21:02] redondos: I can just run the command from the deployment script I suppose... just not neat
[19:22:42] redondos: that'll work!
[19:24:39] redondos: that's very true
[19:24:44] redondos: thanks for the insight
[19:26:29] redondos: that worked beautifully, thanks again
[19:26:45] redondos: I stuck it into my fabfile (shoot me, we got rid of capistrano here)

2015-07-14

[18:30:51] redondos: *.net *.split
[18:31:12] redondos: has joined #ruby
[18:31:12] redondos: Changing host
[18:31:12] redondos: has joined #ruby

2015-07-13

[15:36:58] redondos: *.net *.split
[15:37:14] redondos: has joined #ruby
[15:37:14] redondos: Changing host
[15:37:14] redondos: has joined #ruby

2015-07-08

[18:10:25] redondos: codewars is fun
[18:10:33] redondos: haven't visited it in quite a while but still
[18:11:14] redondos: aren't they all like that?
[18:11:31] redondos: i enjoyed looking at better solutions
[18:11:35] redondos: it taught me quite a bit

2015-06-21

[10:55:33] redondos: Ping timeout: 252 seconds
[11:01:22] redondos: has joined #ruby

2015-06-20

[21:01:58] redondos: Ping timeout: 244 seconds
[21:03:33] redondos: has joined #ruby
[21:03:45] redondos: has joined #ruby
[21:03:45] redondos: Changing host

2015-02-14

[03:22:41] redondos: hello. what's an efficient way to flatten a hash of hashes and arrays (of unknown depth) into an array of its values?
[03:24:32] redondos: an array of its values, recursively
[03:24:37] redondos: i don't care about keys

2014-04-30

[05:41:59] redondos: how can i generate a hash from an array of n length and assign a value to it? e.g. array = [1,2,3,4] --> hash[1][2][3][4] = foo
[06:08:00] redondos: you've got to be kidding me.
[20:18:42] redondos: how can i fetch the value of a hash using the elements of an array as keys? e.g. array = [1, 2, 3] --> hash[1][2][3]
[20:21:22] redondos: thanks, DouweM

2014-04-22

[22:44:02] redondos: hello. can you help me interpret this error in Rails::Initializer.run? /Users/redondos/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:443:in `load_missing_constant': uninitialized constant ThreadSafe::Hash (NameError)
[22:44:20] redondos: am I forgetting to require thread_safe?
[22:44:31] redondos: this is someone else's project I am trying to run
[22:48:46] redondos: dfr|railsconf: https://gist.github.com/redondos/2769dd12d32d6c2b20bf
[22:51:56] redondos: dfr|railsconf: https://gist.github.com/redondos/74ea372f11f69ad4ffc8
[22:58:52] redondos: dfr|railsconf: yeah...
[23:00:03] redondos: dfr|railsconf: I tried requiring inside the block passed to Rails::Initializer.run but yes I will try that now. thank you
[23:02:30] redondos: dfr|railsconf: it fails when added to the top as well
[23:03:37] redondos: MRI 1.8.7, thread_safe (0.3.3, 0.1.3)
[23:03:59] redondos: hmm i didn't know i had two versions installed
[23:04:58] redondos: reinstalling 0.1.3 and removing the newer one didn't help
[23:05:07] redondos: the Gemfile locks it to 0.1.3 though
[23:07:03] redondos: dfr|railsconf: no reason. i will try the newer one.
[23:08:28] redondos: dfr|railsconf: you were right--that seems to have fixed it
[23:08:31] redondos: dfr|railsconf: thank you
[23:09:24] redondos: yeah... why would someone lock it to 0.1.3 in the gemfile if that version never worked, no idea.

2014-03-28

[20:33:02] redondos: why does `foo ||= 1' work but `foo || 1' doesn't?
[20:33:21] redondos: ie what's a good idiom to print a variable if it's set, or something else if it isn't
[20:35:06] redondos: it's a Chef attribute that I want to make optional
[20:35:28] redondos: it's actually not, for Chef
[20:35:57] redondos: i was looking for a ruby idiom to print a variable if it's set, or something else if it isn't
[20:35:58] redondos: chef or no chef.
[20:36:02] redondos: yeah centrx
[20:59:48] redondos: bilbo_swaggins: ah, i was missing some parentheses to make that work. thanks!