« Back to channel list

#RubyOnRails - 22 July 2018

« Back 1 day Forward 1 day »
[00:03:45] cagomez: has joined #RubyOnRails
[00:45:50] _aeris_: has joined #RubyOnRails
[01:25:06] tdy: has joined #RubyOnRails
[01:31:05] chendry: has joined #RubyOnRails
[01:37:22] wethu: has joined #RubyOnRails
[01:56:12] Puffball: has joined #RubyOnRails
[02:15:31] alfiemax: has joined #RubyOnRails
[02:15:43] woohoou: has joined #RubyOnRails
[02:37:31] apparition: has joined #RubyOnRails
[03:10:15] braincrash: has joined #RubyOnRails
[03:17:32] Tempesta: has joined #RubyOnRails
[03:21:37] quazimodo: has joined #RubyOnRails
[03:45:44] Puffball: has joined #RubyOnRails
[03:55:36] Technodrome: has joined #RubyOnRails
[04:19:33] DTZUZO: has joined #RubyOnRails
[04:43:10] Saukk: has joined #RubyOnRails
[04:49:26] gshaw: has joined #RubyOnRails
[04:50:11] gshaw: has left #RubyOnRails: ()
[05:00:57] Ryzokuken: has joined #RubyOnRails
[05:01:01] Saukk: has joined #RubyOnRails
[05:05:07] duderonomy: has joined #RubyOnRails
[05:14:59] lexileo: has joined #RubyOnRails
[05:39:15] Technodrome: has joined #RubyOnRails
[06:12:31] schneider: has joined #RubyOnRails
[06:30:20] alfiemax: has joined #RubyOnRails
[06:37:08] lomex: has joined #RubyOnRails
[06:39:37] darkhanb: has joined #RubyOnRails
[06:50:24] vedu_: has joined #RubyOnRails
[06:57:25] Technodrome: has joined #RubyOnRails
[07:05:11] xall: has joined #RubyOnRails
[07:23:42] quazimodo: It's been a while since I've needed to do this, so I've forgotten
[07:24:27] quazimodo: in rspec, if I set up an object graph with before(:all) and make changes to it within my it "does stuff" specs, then the transaction should roll back nad leave the object graph as though the spec had never executed, right
[07:25:16] quazimodo: basically, i'm getting bleed through from spec to spec of db changes on the stuff created in the before(:all) but i'm using transactinos around my specs so ... the update's & saves ought to be rolled back... riiiiight?
[07:25:24] quazimodo: (i feel like some new madness is happening now)
[07:25:42] schneider: has joined #RubyOnRails
[07:27:09] Saukk: has joined #RubyOnRails
[07:33:13] jerome__: has joined #RubyOnRails
[07:33:48] quazimodo: or it could be model.reload :/
[07:34:39] quazimodo: i wonder if that could be it
[07:34:44] schneider: has joined #RubyOnRails
[07:35:28] vedu_: has joined #RubyOnRails
[07:35:37] jerome__: installed rails-5.2 and rails new is working fine, but rails generate scaffold ... just error about access denied for create directory at /run/user/1000/spring-504. OK... why does it try to do a job i don't want ? Why trying to create a directory inside this /run/user/1000 ? Is it the job of ruby to do stuff like this ?
[07:36:01] jerome__: rails generate doesn't run just because of that. (archlinux os)
[07:36:15] jerome__: what can fix this strange problem ?
[07:38:22] jerome__: https://ptpb.pw/B8yo
[07:40:13] jerome__: also user uid 1000 is my own user the desktop is logged in, but i loggin http because my server use http, and i do code rails with http user.... why this ruby tryed to go make things there ? and how to config it to no more do things like that ?
[07:43:50] schneider: has joined #RubyOnRails
[07:47:09] quazimodo: has joined #RubyOnRails
[07:48:56] quazimodo: I'm a mega genius
[07:50:13] jerome__: ok, my fault... should login like this: su - http instead of su http
[07:50:20] jerome__: (mixing environment)
[07:50:53] wethu: has joined #RubyOnRails
[07:52:57] schneider: has joined #RubyOnRails
[07:54:18] vedu_: has joined #RubyOnRails
[07:55:34] reber: has joined #RubyOnRails
[07:55:40] reber__: has joined #RubyOnRails
[08:02:04] schneider: has joined #RubyOnRails
[08:11:08] schneider: has joined #RubyOnRails
[08:11:20] sameerynho: has joined #RubyOnRails
[08:20:15] schneider: has joined #RubyOnRails
[08:20:25] psychoslave: has joined #RubyOnRails
[08:22:45] quazimodo: has joined #RubyOnRails
[08:24:26] sagax: has joined #RubyOnRails
[08:33:18] schneider: has joined #RubyOnRails
[08:41:52] schneider: has joined #RubyOnRails
[08:44:57] lexileo: has joined #RubyOnRails
[08:47:49] snickers: has joined #RubyOnRails
[08:51:03] schneider: has joined #RubyOnRails
[09:04:22] jerome__: rails-5.2 and haml generator configurtion: https://stackoverflow.com/questions/41705617/how-can-a-rails-5-app-auto-generate-haml-for-layouts-and-views
[09:04:37] jerome__: someone is interested and know something more about that haml things ?
[09:05:25] jerome__: rails-5.2 and sass files (sass will be deprecated soon... use sassc thay said... well, rails g scaffold just failed to use sass... very good)
[09:09:46] conta: has joined #RubyOnRails
[09:36:28] jerome__: haml is ok (not sure for generators), but sassc seems to interest no one rails devs.
[09:44:16] mikecmpbll: has joined #RubyOnRails
[10:14:40] NoGodDamnIdea: has joined #RubyOnRails
[10:42:02] wethu: has joined #RubyOnRails
[10:48:33] lexileo: has joined #RubyOnRails
[10:52:57] lomex: has joined #RubyOnRails
[10:58:09] samosaphile: has joined #RubyOnRails
[11:41:45] Ergo: has joined #RubyOnRails
[11:47:43] wethu: has joined #RubyOnRails
[11:57:05] quazimodo: has joined #RubyOnRails
[13:11:57] za1b1tsu: has joined #RubyOnRails
[13:15:49] Technodrome: has joined #RubyOnRails
[13:30:17] lomex: has joined #RubyOnRails
[13:44:17] uks: has joined #RubyOnRails
[13:45:45] johndunn: has joined #RubyOnRails
[15:02:27] tdy: has joined #RubyOnRails
[15:04:54] za1b1tsu: has joined #RubyOnRails
[15:14:44] za1b1tsu: has joined #RubyOnRails
[15:29:11] johndunn: has left #RubyOnRails: ()
[15:35:33] jottr_: has joined #RubyOnRails
[15:36:37] _aeris_: has joined #RubyOnRails
[15:39:27] ariejan: has joined #RubyOnRails
[15:42:51] pLaTo0n: has joined #RubyOnRails
[16:04:19] tdy: has joined #RubyOnRails
[16:07:10] vedu_: has joined #RubyOnRails
[16:10:36] conta: has joined #RubyOnRails
[16:25:00] dviola: has joined #RubyOnRails
[17:04:50] IanMalcolm: has joined #RubyOnRails
[17:13:13] chendry: has joined #RubyOnRails
[17:13:43] chendry: has left #RubyOnRails: ()
[17:37:10] akaiiro: has joined #RubyOnRails
[17:49:07] orbyt_: has joined #RubyOnRails
[17:59:09] jottr_: has joined #RubyOnRails
[18:02:04] DrYockel: has joined #RubyOnRails
[18:15:00] DrYockel: has joined #RubyOnRails
[18:24:09] Puffball: has joined #RubyOnRails
[18:37:53] jrm: has left #RubyOnRails: ("ERC (IRC client for Emacs 26.1)")
[18:50:53] sagax: strange, but with v5 ActiveRecord i don't have "ActiveRecord::Base.connection.create_database" and "ActiveRecord::Migrator.migrate"
[18:52:27] IanMalcolm: has joined #RubyOnRails
[18:55:10] lexileo: has joined #RubyOnRails
[18:56:00] sagax: https://www.rubydoc.info/gems/activerecord/5.2.0/ActiveRecord/ConnectionAdapters/AbstractMysqlAdapter#create_database-instance_method
[19:04:14] conta: has joined #RubyOnRails
[19:50:56] IanMalcolm: has joined #RubyOnRails
[19:55:48] Dbugger: has joined #RubyOnRails
[19:55:50] tdy: has joined #RubyOnRails
[19:59:53] Dbugger: has joined #RubyOnRails
[20:25:08] Dbugger: has joined #RubyOnRails
[20:30:29] Caerus: has joined #RubyOnRails
[20:44:27] AuricSark: has joined #RubyOnRails
[20:47:18] alfiemax: has joined #RubyOnRails
[20:51:15] DrYockel: has joined #RubyOnRails
[21:24:16] lomex: has joined #RubyOnRails
[21:24:30] tdy: has joined #RubyOnRails
[21:37:32] ur5us: has joined #RubyOnRails
[21:42:41] alfiemax: has joined #RubyOnRails
[22:13:24] Technodrome: has joined #RubyOnRails
[22:46:03] gambl0re: has joined #RubyOnRails
[22:51:54] wethu: has joined #RubyOnRails
[23:08:19] vedu_: has joined #RubyOnRails
[23:14:42] woohoou: has joined #RubyOnRails
[23:18:40] badfish129: has joined #RubyOnRails
[23:22:03] badfish129: may not be the right place to ask this, but I have a design problem. One of my backend services receives requests upon which it spawns a worker thread to do some heavy processing and immediately responds 200 to the requests
[23:22:37] badfish129: the problem is, sometimes my service gets flooded with requests so it has to spawn tons of these worker processes
[23:22:38] ghormoon: has joined #RubyOnRails
[23:23:02] badfish129: the worker processes however, call external apis, so when I get flooded, then I hit rate limiting
[23:23:34] badfish129: I only really need to process the last message in a batch of requests, but not sure how to design a system to ignore the first N and try to just do the last one
[23:27:52] woohoou: has joined #RubyOnRails
[23:45:33] orbyt_: has joined #RubyOnRails
[23:47:32] badfish129: has joined #RubyOnRails