« Back to channel list

#ruby - 17 August 2018

« Back 1 day Forward 1 day »
[00:20:23] t0xik: has joined #ruby
[00:43:26] wnd: has joined #ruby
[00:49:39] EGreg: has joined #ruby
[00:49:55] EGreg: how do you get that nice ruby icon in bottom right of the LimeChat channel? i dont' know
[00:50:00] EGreg: anyway listen .... question for you.
[00:50:04] EGreg: Anyone here btw?
[00:50:19] lxsameer: has joined #ruby
[00:50:23] EGreg: Hey lxsameer
[00:50:28] EGreg: OK so here is myq ueastion
[00:50:32] EGreg: Incomplete response received form application
[00:50:39] EGreg: nginx error logs say nothing
[00:50:44] EGreg: nginx access logs show the http request
[00:50:46] EGreg: now what can I do?
[00:50:57] EGreg: I already did the SECRET_KEY_ASE
[00:50:59] Radar: Ask the application why.
[00:50:59] EGreg: I already did the SECRET_KEY_BASE
[00:51:12] EGreg: what logs can I look at, or what can I do
[00:51:18] Radar: logs/production.log
[00:51:29] Radar: Can you access the application without nginx in front of it?
[00:51:32] EGreg: ahh thanks!
[00:51:40] EGreg: I have no idea, honestly. SOmeone else set this up
[00:51:47] EGreg: I just guessed that we have passenger instead of webrick or thin
[00:51:53] EGreg: DEPRECATION WARNING: You didn't set `secret_key_base`. Read the upgrade documentation to learn more about this new config option. (called from validate_secret_key_config! at /root/.rvm/gems/ruby-2.1.2/gems/railties-4.2.8/lib/rails/application.rb:530)
[00:52:00] EGreg: that must be it
[00:52:05] EGreg: this is for redmine btw
[00:52:06] Radar: Seems like a good avenue for investigation.
[00:52:07] EGreg: so what can I do
[00:52:10] Radar: It's always for Redmine.
[00:52:16] EGreg: hehe why do you say that
[00:52:17] Radar: Maybe set the secret key base?
[00:52:24] Radar: Because lots of people come here for Redmine questions.
[00:52:33] EGreg: look, I am a PHP and JS and Node.js expert, I know very little about Ruby
[00:52:41] EGreg: seems Redmine is the most popular Ruby app :D
[00:52:50] EGreg: is discourse written in ruby? or python?
[00:53:00] Radar: Makes me wonder why people curse themselves with Redmine instead of using Trello / Jira.
[00:53:02] EGreg: anyway, how do I set the secret_key_base?
[00:53:07] EGreg: because it's opensource
[00:53:11] EGreg: and we own our own data :)
[00:53:21] Radar: https://www.engineyard.com/blog/encrypted-rails-secrets-on-rails-5.1
[00:53:26] EGreg: also, if I was writing stuff, I'd use PHP (no offense, just more popular)
[00:53:42] EGreg: we bless ourselves with opensource
[00:54:00] EGreg: okay so I should set it in secrets.yml?
[00:54:01] Radar: bbl. glhf
[00:54:11] EGreg: wait i'm so close
[00:54:55] EGreg: note to self: don't mention PHP in Ruby channel :D
[00:57:25] EGreg: WHEW DID IT THANKS!
[00:57:30] EGreg: oh, next problem with redmine :(
[00:57:39] EGreg: Internal error
[00:57:39] EGreg: An error occurred on the page you were trying to access.
[00:57:39] EGreg: If you continue to experience problems please contact your Redmine administrator for assistance.
[00:57:41] EGreg: If you are the Redmine administrator, check your log files for details about the error.
[00:57:46] EGreg: OH MOTHERCRAPPING CRAPAZOID!!!!
[00:58:10] EGreg: ActiveRecord::StatementInvalid (Mysql2::Error: Unknown column 'tokens.updated_on' in 'order clause': SELECT `tokens`.`id` FROM `tokens` WHERE `tokens`.`user_id` = 3 AND `tokens`.`action` = 'session' ORDER BY `tokens`.`updated_on` DESC LIMIT 18446744073709551615 OFFSET 9):
[00:58:24] EGreg: looks like a newer redmine and I have to somehow migrate database to its new schema, crap crap crap
[01:06:29] EGreg: has joined #ruby
[01:06:39] EGreg: anyone here??
[01:06:42] EGreg: sorry got disconnected
[01:08:38] orbyt_: has joined #ruby
[01:10:17] NightMonkey: has joined #ruby
[01:11:28] cagomez: has joined #ruby
[01:16:18] orbyt_: has joined #ruby
[01:16:31] EGreg: I tried rake db:migrate
[01:16:33] EGreg: doesn't do anyth8ing
[01:16:36] r29v: has joined #ruby
[01:16:42] EGreg: rake aborted!
[01:18:42] EGreg: NoMethodError: undefined method `observers=' for #<Class:0x00000004dc54e8>
[01:30:24] duderonomy: has joined #ruby
[01:32:07] kent\n: has joined #ruby
[01:34:52] dionysus69: has joined #ruby
[01:41:19] orbyt_: has joined #ruby
[01:44:41] Radar: Trello sure is looking like a good alternative right about now, eh?
[01:47:30] \void: has joined #ruby
[02:15:34] dionysus69: has joined #ruby
[02:16:31] dionysus69: has joined #ruby
[02:20:50] Azure: has joined #ruby
[02:23:03] NightMonkey: has joined #ruby
[02:27:50] cagomez: has joined #ruby
[02:34:04] EGreg2: has joined #ruby
[02:34:06] EGreg2: I am getting super close but now I need to migrate the database to the new
[02:34:14] EGreg2: qbixstaging.new redmine # rake about
[02:34:15] EGreg2: rake aborted!
[02:34:15] EGreg2: NoMethodError: undefined method `observers=' for ActiveRecord::Base:Class
[02:34:17] EGreg2: how can I fix this??
[02:34:18] EGreg2: I am stuk
[02:34:28] EGreg2: and I know I didn't spell "stuck" right but plz help if you can
[02:41:56] EGreg2: anyone here?
[02:44:00] EGreg2: NoMethodError: undefined method `observers=' for ActiveRecord::Base:Class
[02:44:00] EGreg2: /root/.rvm/gems/ruby-2.4.2/gems/activerecord-4.2.8/lib/active_record/dynamic_matchers.rb:26:in `method_missing'
[02:45:02] mroutis: has joined #ruby
[02:50:58] lxsameer: has joined #ruby
[02:51:24] dionysus69: has joined #ruby
[02:54:01] Azure: has joined #ruby
[03:00:31] cadillac_: has joined #ruby
[03:05:01] sspreitz: has joined #ruby
[03:06:49] gix: has joined #ruby
[03:10:06] braincrash: has joined #ruby
[03:16:15] dionysus69: has joined #ruby
[03:21:40] akkiguru_: has joined #ruby
[03:22:10] akkiguru_: anyone worked on Logstash ruby code before?
[03:22:29] darkhanb: has joined #ruby
[03:35:41] ponzii: has joined #ruby
[03:38:23] ponzii: Is there any slice of a URL which identifies a site as a Rails site? Ok, I can search the source for data-turbolinks-track but the source code isn't necessarily available. In order to locate Rails sites in a Google search I have to use, eg. site:*.com/assets/ but I'm not sure this is unique to Rails.
[03:39:15] wyoung: has joined #ruby
[03:49:08] bambanx: has joined #ruby
[03:49:45] lxsameer: has joined #ruby
[03:57:16] s2013: has joined #ruby
[04:00:47] akkiguru_: has joined #ruby
[04:11:04] dionysus69: has joined #ruby
[04:12:36] mroutis: has joined #ruby
[04:32:16] dionysus69: has joined #ruby
[04:38:17] za1b1tsu: has joined #ruby
[04:40:15] tfitts: has joined #ruby
[04:41:14] mrush: termbin.com/xrl2 is it possible to cause a string of hexadecimal escapes to encode to ASCII-8BIT? why is ruby changing my string encoding to UTF-8
[04:47:49] kujira: has joined #ruby
[05:03:12] tty: has joined #ruby
[05:06:23] vonfry: has joined #ruby
[05:10:14] Dbugger: has joined #ruby
[05:38:09] tristanp: has joined #ruby
[05:48:47] kapil___: has joined #ruby
[05:58:25] bambanx: has joined #ruby
[06:03:23] aufi: has joined #ruby
[06:05:42] cadillac_: has joined #ruby
[06:06:41] aupadhye: has joined #ruby
[06:12:14] _whitelogger: has joined #ruby
[06:20:49] graphene: has joined #ruby
[06:28:41] reber: has joined #ruby
[06:31:11] dionysus69: has joined #ruby
[06:56:21] Mike11: has joined #ruby
[06:57:05] dellavg: has joined #ruby
[07:02:04] sauvin: has joined #ruby
[07:20:36] za1b1tsu: has joined #ruby
[07:27:02] niexxx: has joined #ruby
[07:38:32] TomyWork: has joined #ruby
[07:41:55] burgestrand: has joined #ruby
[07:45:40] graphene: has joined #ruby
[07:56:24] apeiros: has joined #ruby
[08:05:09] jottr: has joined #ruby
[08:09:55] Beams: has joined #ruby
[08:20:14] burgestrand: has joined #ruby
[08:30:24] drale2k_: has joined #ruby
[08:32:15] kerunaru: has joined #ruby
[08:36:27] outhicat: has joined #ruby
[08:38:01] ferhaty: has joined #ruby
[08:41:48] outhicat: has joined #ruby
[08:45:27] mikecmpbll: has joined #ruby
[08:50:00] t0xik: has joined #ruby
[08:54:32] Nicmavr: has joined #ruby
[08:55:20] nowhere_man: has joined #ruby
[08:55:48] jottr: has joined #ruby
[08:56:24] burgestrand: has joined #ruby
[08:59:48] nowhereman_: has joined #ruby
[09:00:45] lxsameer: has joined #ruby
[09:01:12] dhollin3: has joined #ruby
[09:05:17] vondruch: has joined #ruby
[09:05:31] alex``: has joined #ruby
[09:18:58] titanmaru: has joined #ruby
[09:26:28] dionysus69: I have a rails problem and this specific one I think it applies to ruby channel too, this is the sheet I made with GC.stat per each request, my problem is that memory consumption increases drastically, from 300 to 900mb in like 10-15 requests? and, I am refreshing same page! this is the sheet, each column is one request https://docs.google.com/spreadsheets/d/16bmmoggLNUW9Qpe3q2lvLDL4eFoVe2anorKFjE70Zt8/edit?usp=sharing if anyone notices anythin
[09:27:24] dionysus69: only thing I could notice that would grab my attention is that total_allocated_objects increases from 3 million to 80 million
[09:39:11] dminuoso: dionysus69: I dont think it's a memory leak.
[09:39:43] dminuoso: You should probably tap into ObjectSpace, trace allocations
[09:39:44] dionysus69: still ? :P ok I will try disabling asset pipeline and see what happens
[09:39:45] dminuoso: Do some shenanigans.
[09:40:07] dionysus69: thing is that I have 0 experience in that stuff so far so I have trouble deciding what to look at exactly
[09:40:12] dminuoso: I suspect it might be some sub-optimal caching behavior.
[09:40:37] tristanp: has joined #ruby
[09:40:49] dminuoso: dionysus69: https://ruby-doc.org/stdlib-2.5.1/libdoc/objspace/rdoc/ObjectSpace.html#method-c-trace_object_allocations
[09:40:50] dionysus69: I have redis yes and I do some caching, that's what you mean? but if I do very poor caching, it's the redis server process that should get fat not the rails one right?
[09:41:11] dminuoso: dionysus69: You have to dig very hard through objectspace I suspect.
[09:41:54] dionysus69: I guess :D I even checked number of allocated symbols accross the app and the number doesn't grow crazily
[09:48:36] dionysus69: dminuoso: it maybe sprocket thing and you maybe right and this amount of ram consumption maybe normal, just got out of hand couple of times and it became suspicious, config.assets.debug = true and precompiled assets now process doesn't grow more than 300mb, 3-4 times less
[09:53:55] jottr: has joined #ruby
[10:12:08] Cork: has joined #ruby
[10:16:45] discopatrick: has joined #ruby
[10:20:41] GodFather: has joined #ruby
[10:24:22] clemens3: has joined #ruby
[10:36:55] graphene: has joined #ruby
[10:38:26] kerunaru: has joined #ruby
[10:44:48] graphene: has joined #ruby
[10:48:28] alex``: How to get RSS keys?
[10:48:51] alex``: https://ruby-doc.org/stdlib/libdoc/rss/rdoc/RSS.html
[10:49:04] alex``: http://feeds.radiokawa.com/podcast_kaorin.xml
[10:49:26] alex``: I want to get the entry names of items
[10:49:54] snuz: has joined #ruby
[10:49:57] alex``: title, itunes:author, enclosure (url, type), guid, pubDate, etc.
[10:50:23] alex``: Is there a way to expose as a Ruby object?, Hash / Array
[10:50:51] alex``: instead of methods: item.title, item.itunes_author
[10:51:27] alex``: like: item holding a hash, item['itunes:author'], etc.
[11:05:55] graphene: has joined #ruby
[11:08:45] kapil___: has joined #ruby
[11:17:24] Zaab1t: has joined #ruby
[11:19:34] AJA4350: has joined #ruby
[11:20:17] burgestrand: has joined #ruby
[11:27:21] graphene: has joined #ruby
[11:27:26] drale2k_: has joined #ruby
[11:29:58] DTZUZO: has joined #ruby
[11:31:00] clemens3: has joined #ruby
[11:32:07] sticaz: has joined #ruby
[11:33:04] clemens3: has joined #ruby
[11:34:21] hfp: has joined #ruby
[11:34:21] za1b1tsu: has joined #ruby
[11:37:24] hfp: Hi all, someone asked me the other day how to do this in Ruby and I'm curious what the actual solution is: assuming you have a function that takes two arguments: arg1 and library. You can pass that function any library to operate on arg1, but you don't know the API to library when writing the function. How do you make that function do its thing with arg1 when passing any arbitrary library? So I though you could
[11:37:29] hfp: add a third argument to the signature and make it a block which you'd run within the function, and it's the user's responsibility to write that block using library's API to manipulate arg1. Was a right? Is there a better way?
[11:37:35] kerunaru: has joined #ruby
[11:38:12] hfp: And can the code within the block access the function's arguments when it's executed?
[11:38:50] graphene: has joined #ruby
[11:40:15] bijan_: has joined #ruby
[11:56:03] graphene: has joined #ruby
[11:56:05] thy0: has joined #ruby
[11:59:14] nowhereman_: has joined #ruby
[12:01:09] kerunaru: Sorry, guys
[12:02:18] gigetoo: has joined #ruby
[12:02:41] jcalla: has joined #ruby
[12:06:14] bmurt: has joined #ruby
[12:06:54] ineb: hfp: so you are basically looking for glue code that passes arg1 to library in whatever ways
[12:07:17] ineb: in your scenario, your function cant do it.
[12:07:49] ineb: iam not asking why, because usually thats the job of a function that takes the two arguments arg1 and library
[12:08:08] za1b1tsu: has joined #ruby
[12:08:26] ineb: then your thoughts were right. you can pass this glue code via block
[12:08:36] graphene: has joined #ruby
[12:10:34] ineb: << def glue(arg1,library); yield arg1, library end; glue("1", "2") { |a,b| p a + b }
[12:11:08] ineb: >> def glue(arg1,library); yield arg1, library end; glue("1", "2") { |a,b| p a + b }
[12:11:09] ruby[bot]: ineb: # => "12" ...check link for more (https://eval.in/1048488)
[12:28:09] aufi: has joined #ruby
[12:31:17] alem0lars: has joined #ruby
[12:33:26] GodFather: has joined #ruby
[12:36:02] bijan_: has joined #ruby
[12:40:52] Criten: has joined #ruby
[12:41:07] Criten: Hello ruby people! What are you listening to today? Looking for suggestions.
[12:43:32] Azure|dc: has joined #ruby
[12:44:02] tristanp: has joined #ruby
[12:46:42] bijan_: has joined #ruby
[12:47:22] donofrio: has joined #ruby
[12:57:43] bijan_: has joined #ruby
[12:59:02] burgestrand: has joined #ruby
[13:02:44] alex``: Any idea?
[13:03:49] dionysus69: has joined #ruby
[13:05:40] Criten: alex``: for what?
[13:06:19] bijan_: has joined #ruby
[13:07:41] dminuoso: Criten: Stupid comments from my working colleague.
[13:08:36] alex``: Criten: You were not here when I asked
[13:08:37] alex``: https://gist.github.com/alexherbo2/2215c5bb0b6206b4e77dd02c142c7019
[13:08:42] despai: has joined #ruby
[13:08:52] hfp: ineb: thanks, totally forgot about yield
[13:09:45] alex``: by entry names, I mean the tag names
[13:10:06] alex``: I want access like a Ruby object (Hash, Array, String)
[13:10:16] bijan_: has joined #ruby
[13:12:55] Criten: alex``: huh, looks like a weird api
[13:13:17] Criten: the RSS lib
[13:13:28] Criten: I've never looked at it before
[13:13:42] alex``: Do you suggest another lib or language?
[13:14:19] alex``: I could go with standard XML if there is a lightweight
[13:14:19] fmcgeough: has joined #ruby
[13:15:06] alex``: Basically I need to collect items in and get the hash of each item
[13:15:31] alex``: http://feeds.radiokawa.com/podcast_kaorin.xml
[13:15:45] Criten: I think we use nokogiri for xml... which is far from lightweight :P
[13:15:47] alex``: So that I can do
[13:15:50] Criten: let me doublecheck
[13:16:05] alex``: "user-input-string" % item-data
[13:16:10] Inline: has joined #ruby
[13:16:16] alex``: and let user choose the output
[13:16:21] alex``: with printf syntax
[13:16:39] alex``: Criten: Yep I would avoid Nokogiri
[13:16:52] alex``: JS is adapted for that?
[13:17:07] Criten: alex``: https://apidock.com/rails/Hash/from_xml/class
[13:17:41] alex``: Rails is worse no? X)
[13:18:10] Criten: well thats what we use
[13:18:16] Criten: Thought that was base ruby
[13:18:32] Fr4n: has joined #ruby
[13:18:35] Criten: which would be crazy now that i think about it
[13:18:38] alex``: it’s in 'active_support/core_ext' ?
[13:19:12] Criten: https://github.com/YorickPeterse/oga
[13:19:54] Criten: idk, just try some libs. :P
[13:19:59] Criten: I have no good suggestions
[13:20:18] Criten: I dont work with XML... pretty much ever
[13:20:47] alex``: but I need to get the data from feeds which is useful
[13:20:55] alex``: to collect the data songs
[13:23:35] bijan_: has joined #ruby
[13:25:53] za1b1tsu: has joined #ruby
[13:32:45] qolq: has joined #ruby
[13:33:45] jottr: has joined #ruby
[13:43:19] bijan_: has joined #ruby
[13:44:47] tristanp: has joined #ruby
[13:51:04] apeiros_: has joined #ruby
[13:54:03] bijan_: has joined #ruby
[13:54:17] augcesar: has joined #ruby
[13:57:52] dviola: has joined #ruby
[14:00:33] za1b1tsu: has joined #ruby
[14:04:01] Rapture: has joined #ruby
[14:04:25] [Butch]: has joined #ruby
[14:09:45] drale2k_: has joined #ruby
[14:10:05] jottr: has joined #ruby
[14:11:36] bijan_: has joined #ruby
[14:13:50] c0ncealed2: has joined #ruby
[14:14:18] Fr4n: has joined #ruby
[14:15:21] blood: has joined #ruby
[14:17:26] blood: https://dpaste.de/GcCV ruby's win32 service keeps complaining that the service i'm trying to configure doesn't exist but it does... any ideas?
[14:17:36] blood: I'm assuming the issue is it isn't handling the spaces properly
[14:20:28] venmx: has joined #ruby
[14:21:05] dtom: has joined #ruby
[14:23:34] dtom: hey guys... noob question. I am trying to use net-ssh to ssh to the servers and execute some commands.... How do I write a function that if ssh password failed to try different password ??
[14:23:38] dtom: Please help
[14:24:35] bijan_: has joined #ruby
[14:24:40] apeiros: soooo you're writing a brute-force cracker?
[14:25:06] Criten: dtom: http://net-ssh.github.io/net-ssh/Net/SSH/AuthenticationFailed.html
[14:25:49] havenwood: mrush: String#b is a shorthand to return an ASCII-8BIT copy. If you also .b the String you're shoveling on they'll both be binary.
[14:26:11] Criten: dtom: rescue from that error, retry
[14:27:09] dtom: ah .. coolio !!! Let me try that .. Thank you so much'
[14:28:13] jdawgaz: has joined #ruby
[14:35:50] za1b1tsu: has joined #ruby
[14:39:42] bijan_: has joined #ruby
[14:47:03] s2013: has joined #ruby
[14:50:29] bijan_: has joined #ruby
[14:53:57] venmx: has joined #ruby
[14:57:30] kryptoz: has joined #ruby
[14:58:59] s2013: has joined #ruby
[14:59:48] Eiam: has joined #ruby
[15:00:39] graphene: has joined #ruby
[15:01:38] bijan_: has joined #ruby
[15:03:24] akaiiro: has joined #ruby
[15:03:54] bijan_: has joined #ruby
[15:09:05] eddof13: has joined #ruby
[15:15:02] DarthGandalf: has joined #ruby
[15:21:31] IanMalcolm: has joined #ruby
[15:23:04] jdawgaz: has joined #ruby
[15:23:40] cthulchu_: has joined #ruby
[15:33:39] graphene: has joined #ruby
[15:37:10] bijan__: has joined #ruby
[15:41:07] blood: https://dpaste.de/GcCV anyone know why this service can't be found? is it the spaces?
[15:41:26] bijan_: has joined #ruby
[15:42:57] fluxAeon: has joined #ruby
[15:43:01] solocshaw: has joined #ruby
[15:47:25] havenwood: blood: 404 Snippet not found
[15:48:57] blood: havenwood: https://dpaste.de/QR4j
[15:50:04] duderonomy: has joined #ruby
[15:50:27] blowmage: has joined #ruby
[15:51:11] havenwood: blood: Why do you put a space in it in one place and not in the other?
[15:51:56] blood: Oracle sets this name, I'm just trying to make it work to configure post install
[15:53:57] sameerynho: has joined #ruby
[15:54:13] bijan_: has joined #ruby
[15:54:27] BTRE: has joined #ruby
[15:55:34] alex``: How to get RSS guid value?
[15:55:40] graphene: has joined #ruby
[16:00:20] havenwood: blood: What I mean is you use two versions of the service name, and they aren't the same within that one method.
[16:00:45] havenwood: blood: Here's a gist with a few ideas: https://dpaste.de/iBFE
[16:05:12] havenwood: blood: But your `"ORACLE ProcMGR V" + tuxedo_version` doesn't result in: "ORACLE ProcMGR V12.2.2.0.0_VS2015"
[16:05:47] bijan_: has joined #ruby
[16:06:08] blood: what does it result in?
[16:06:53] blood: I tested your changes, same error
[16:07:17] blood: i created a dummy service called 'TestService' and that works fine
[16:07:31] blood: so is this a bug in win32-service
[16:11:05] blood: interesting, I cant even change it with sc....
[16:12:46] darkhanb: has joined #ruby
[16:13:39] jcarl43: has joined #ruby
[16:16:30] bijan_: has joined #ruby
[16:20:58] sspreitz: has joined #ruby
[16:23:04] drale2k_: has joined #ruby
[16:26:10] code_zombie: has joined #ruby
[16:26:38] nowhereman_: has joined #ruby
[16:28:15] bijan_: has joined #ruby
[16:31:56] samort7: has joined #ruby
[16:32:02] jdawgaz: has joined #ruby
[16:32:03] IanMalcolm: has joined #ruby
[16:33:40] fluxAeon: has joined #ruby
[16:36:37] akaiiro: has joined #ruby
[16:45:27] bijan_: has joined #ruby
[16:45:30] s2013: has joined #ruby
[16:51:07] jdawgaz: has joined #ruby
[16:52:04] harmaahylje: has left #ruby: ()
[16:53:52] impermanence: has joined #ruby
[16:57:39] mikecmpbll: has joined #ruby
[17:00:14] BunkyPrewster: has joined #ruby
[17:00:47] bijan_: has joined #ruby
[17:01:01] lytol_: has joined #ruby
[17:01:45] graphene: has joined #ruby
[17:04:34] eddof13: has joined #ruby
[17:12:12] bijan_: has joined #ruby
[17:13:14] IanMalcolm: has joined #ruby
[17:16:56] GodFather: has joined #ruby
[17:25:12] bijan_: has joined #ruby
[17:28:02] bijan_: has joined #ruby
[17:32:25] bijan_: has joined #ruby
[17:32:52] kryptoz: has joined #ruby
[17:35:02] za1b1tsu: has joined #ruby
[17:41:57] s2013: has joined #ruby
[17:47:11] bijan_: has joined #ruby
[17:52:38] GodFather: has joined #ruby
[17:53:28] orbyt_: has joined #ruby
[17:58:45] SeepingN: has joined #ruby
[18:03:24] dviola: has joined #ruby
[18:03:39] troys: has joined #ruby
[18:08:24] cadillac_: has joined #ruby
[18:08:24] eckhardt_: has joined #ruby
[18:21:31] cajone: has joined #ruby
[18:21:56] cajone: has left #ruby: ()
[18:24:37] jcarl43: has joined #ruby
[18:24:59] apeiros_: has joined #ruby
[18:34:35] maciuszek: has joined #ruby
[18:52:22] aeontech: has joined #ruby
[18:52:42] aeontech: has anyone here done much raw arel?
[18:52:43] aeontech: i can't figure out the syntax to generate "WHERE ? = ANY(column)" for an array column
[18:53:30] doubledup: has joined #ruby
[18:57:16] aeontech: has joined #ruby
[18:59:09] dionysus70: has joined #ruby
[18:59:58] Criten: aeontech: like .where("? = ANY('asdf')", 'asdfasdf')
[19:00:16] Criten: or whatever
[19:00:53] apeiros_: ?ar aeontech
[19:00:53] ruby[bot]: aeontech: For activerecord/arel questions, please join #RubyOnRails, since they're maintained as a part of it. Note: you need to be identified with NickServ, see /msg NickServ HELP
[19:01:13] apeiros_: chances over there are probably better
[19:05:57] orbyt_: has joined #ruby
[19:12:18] go|dfish: has joined #ruby
[19:15:21] aeontech: @Criten: that's good for records against activerecord models, I think, but not if I'm not using activerecord models (this is for stats/aggregations, which don't make sense to have model representations for each row.
[19:18:30] Criten: apeiros: just run a raw query then?
[19:18:39] Criten: I guess i havent really looked into arel without AR
[19:20:44] pskosinski: has joined #ruby
[19:20:52] aeontech: has joined #ruby
[19:23:47] za1b1tsu: has joined #ruby
[19:26:42] fluxAeon: has joined #ruby
[19:31:00] fmcgeough: has joined #ruby
[19:33:09] faitswulff: has joined #ruby
[19:34:52] Nicmavr: has joined #ruby
[19:40:02] nowhereman_: has joined #ruby
[19:44:11] kryptoz: has joined #ruby
[19:49:17] jottr: has joined #ruby
[19:52:14] apeiros: Criten: I assume you meant aeontech?
[19:53:30] Criten: correct :P
[19:55:31] graphene: has joined #ruby
[19:56:19] za1b1tsu_: has joined #ruby
[20:05:23] eyeris: has joined #ruby
[20:05:24] ur5us: has joined #ruby
[20:06:23] eyeris: At some point an ancient version of the tzinfo gem was installed. Now I have .rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/specifications/tzinfo-0.3.52.gemspec, which causes the newest rubygems to complain about the deprecated has_rdoc= method. What command will get rid of this ancient specification? I've tried gem cleanup to no avail.
[20:07:40] aeontech: pretty quiet on #rubyonrails :)
[20:07:53] apeiros: aeontech: can happen
[20:08:03] aeontech: ya :) friday afternoon
[20:08:15] apeiros: eyeris: gem uninstall
[20:08:26] apeiros: ?ugt aeontech
[20:08:26] ruby[bot]: aeontech: it's morning, see http://www.total-knowledge.com/~ilya/mips/ugt.html
[20:08:50] apeiros: (late evening here actually)
[20:09:07] eyeris: apeiros: there's no bulk mode? I used tzinfo as an example but I have a _lot_ of other gems in the same situation.
[20:09:25] apeiros: eyeris: you can list as many gems as you want there
[20:09:25] aeontech: @apeiros it's ​881​.beats right now
[20:09:39] aeontech: according to https://twitter.com/internet_time
[20:09:41] apeiros: aeontech: heh, somebody other than me knows about that one?
[20:09:59] aeontech: *concentrates to grow a longer beard*
[20:15:44] eyeris: apeiros: thanks for your help.
[20:20:52] tty: has joined #ruby
[20:27:11] za1b1tsu_: has joined #ruby
[20:32:11] jdawgaz: has joined #ruby
[20:33:57] t0xik: has joined #ruby
[20:34:35] LiftLeft: has joined #ruby
[20:40:10] Rapture: has joined #ruby
[20:42:36] s2013: has joined #ruby
[20:58:23] qckbrnfx: has joined #ruby
[21:01:51] za1b1tsu_: has joined #ruby
[21:05:59] aeontech: has joined #ruby
[21:07:05] canton7: has joined #ruby
[21:11:20] BTRE: has joined #ruby
[21:11:42] za1b1tsu_: has joined #ruby
[21:20:45] faitswulff: has joined #ruby
[21:22:07] postmodern: has joined #ruby
[21:23:54] GodFather: has joined #ruby
[21:23:56] faitswulff: has joined #ruby
[21:31:26] faitswulff: has joined #ruby
[21:36:38] za1b1tsu: has joined #ruby
[21:36:59] za1b1tsu_: has joined #ruby
[21:39:01] IanMalcolm: has joined #ruby
[21:44:11] jthomas: has joined #ruby
[21:57:04] aeontech: has joined #ruby
[21:59:45] jrich523: has joined #ruby
[22:01:48] jrich523: hey guys, is there a Rails specific channel?
[22:04:33] elomatreb: #RubyOnRails, but you need to authenticate with nickserv to talk
[22:04:59] jrich523: seems to be the case with most channels these days
[22:06:23] jrich523: thank you @elomatreb
[22:06:51] baweaver: It's on in here as well elomatreb
[22:07:07] Paraxial: has joined #ruby
[22:07:11] elomatreb: Those spammers still at it?
[22:07:22] jrich523: the whole network was auth'd a day or two ago
[22:08:37] za1b1tsu_: has joined #ruby
[22:09:07] graphene: has joined #ruby
[22:10:46] akaiiro: has joined #ruby
[22:12:50] graphene: has joined #ruby
[22:14:15] graphene: has joined #ruby
[22:22:02] jdawgaz: has joined #ruby
[22:29:15] Cthulu201: has joined #ruby
[22:42:04] ur5us: has joined #ruby
[22:42:55] Freshnuts: has joined #ruby
[22:44:55] arescorpio: has joined #ruby
[22:49:10] jqpl: has joined #ruby
[22:59:14] graphene: has joined #ruby
[23:01:12] aeontech: has joined #ruby
[23:27:58] za1b1tsu_: has joined #ruby
[23:45:07] agent_white: has joined #ruby
[23:53:03] orbyt_: has joined #ruby
[23:59:03] gnufied: has joined #ruby