« Back to channel list

#RubyOnRails - 12 October 2017

« Back 1 day Forward 1 day »
[00:00:37] jrabe: has joined #RubyOnRails
[00:03:43] srruby: docker: should I be using it for development and production ???
[00:07:46] Cache_Money: I have a model (PodcastEpisode) with `publish_date` and I have two inputs -- month & year (both ints) -- How would I get a count of PodcastEpisodes for a given month/year combo?
[00:12:56] baweaver: Cache_Money: where takes ranges
[00:13:00] baweaver: including date ranges
[00:13:29] baweaver: So make a new date of the first day of that month and add a month to it.
[00:13:29] Cache_Money: baweaver: I used this approach - PodcastEpisode.where("extract(year from publish_date) = ? AND extract(month from publish_date) = ?", record.year, record.month).count
[00:15:09] baweaver: date = Date.new(year, month, 1); date..(date + 1.month)
[00:15:29] baweaver: PodcastEpisode.where(publish_date: date)
[00:18:24] Cache_Money: baweaver: That's cool, I didn't know .where() takes an array for a range
[00:20:48] cagomez: has joined #RubyOnRails
[00:20:59] cagomez: has joined #RubyOnRails
[00:22:04] cagomez: has joined #RubyOnRails
[00:27:09] bronson: has joined #RubyOnRails
[00:29:49] blackmesa: has joined #RubyOnRails
[00:31:44] sevenseacat: has joined #RubyOnRails
[00:47:37] blackmesa1: has joined #RubyOnRails
[00:50:45] srruby: has joined #RubyOnRails
[00:59:21] quirkycoders: has joined #RubyOnRails
[01:01:31] fragamus: has joined #RubyOnRails
[01:04:08] diego_ar: has joined #RubyOnRails
[01:07:04] kuwze: has joined #RubyOnRails
[01:15:27] rubycoder37: has joined #RubyOnRails
[01:17:34] rubycoder37: any ideas how can I write this line in a better way? https://gist.github.com/anonymous/96dd63ef2a0eae0f46b31b472171cad6#file-index-html-erb-L8
[01:17:41] rubycoder37: if post.user == current_user %>
[01:18:53] rubycoder37: I'm trying to show the delete link for the post that belongs to the logged in user only, or should I add this to a helper?
[01:20:38] Jameser: has joined #RubyOnRails
[01:25:40] Jameser: has joined #RubyOnRails
[01:31:37] rfoust: has joined #RubyOnRails
[01:35:06] quirkycoders: has joined #RubyOnRails
[01:35:22] nikivi: has joined #RubyOnRails
[01:37:39] brendan-: has joined #RubyOnRails
[01:43:48] matthewd: rubycoder37: Try for a method that encapsulates the logical concept -- post.allow_edit?(current_user), allow_edit?(post), or similar
[01:44:19] matthewd: rubycoder37: It gets the detail out of the view, and can be reused when you make the check for real in the action method
[01:49:34] rubycoder37: matthewd: sounds good, thanks
[01:56:31] orbyt_: has joined #RubyOnRails
[01:58:12] dviola: has joined #RubyOnRails
[02:13:51] irishfromua: has joined #RubyOnRails
[02:27:57] bronson: has joined #RubyOnRails
[02:36:53] elcontrastador: has joined #RubyOnRails
[02:53:29] sunya7a: if I have a joining model with additional data in it that is required...how do i join A to B while also setting that value at the same time?
[02:55:27] sunya7a: also...can I do this on the fly while adding multiple relationships? A.relation_things << [b1, b2]
[02:56:53] dblessing: has joined #RubyOnRails
[03:04:00] quirkycoders: has joined #RubyOnRails
[03:16:44] wethu: has joined #RubyOnRails
[03:23:29] orbyt_: has joined #RubyOnRails
[03:28:55] ghormoon: has joined #RubyOnRails
[03:30:24] tfitts: I have kind of a weird issue I've never really seen before. Using postgres I have a model called Item with an attribute called retail which is a decimal. If I do Item.where(retail: 6.69).size I get 0, if I do Item.where(retail: 6.68999..6.69).size I get 279. if I to Item.connection.execute("select count(id) from items where retail = 6.69") I get [{"count"=>279}], and if I do Item.where(retail:
[03:30:24] tfitts: 6.68999..6.69).pluck(:retail) they all equal 6.69 and not like 6.689999999. What would cause that. I find it especially weird that the raw SQL statement returns the right number.
[03:35:44] elcontrastador: has joined #RubyOnRails
[03:36:35] tfitts: Also, Item.where("retail = ?",6.69).size gives 279
[03:38:25] waterCreature: has joined #RubyOnRails
[03:48:27] tamouse__: has joined #RubyOnRails
[03:50:00] tamouse__: has joined #RubyOnRails
[03:54:35] rgr: has joined #RubyOnRails
[04:09:03] tfitts: Item.where(retail: 6.69.to_s).size = 279
[04:17:24] quirkycoders: has joined #RubyOnRails
[04:17:44] thejamespinto: has joined #RubyOnRails
[04:22:54] uksio: has joined #RubyOnRails
[04:23:44] thejamespinto: hey guys, I know this is completely unrelated to Rails - I'd be very thankful if somebody can point me to a couple of channels most fit for these questions - What I wanted to do ....
[04:23:45] fragamus: has joined #RubyOnRails
[04:23:57] thejamespinto: ....Ah, nevermind, I just solved my own question
[04:24:53] thejamespinto: Why is it always like this? You begin to formulate a question slightly better than describing a rat's ass and you just magically realize what you need to google for
[04:27:08] planigan: has joined #RubyOnRails
[04:29:04] bronson: has joined #RubyOnRails
[04:36:03] elomatreb: tfitts: Probably something caused by the 6.69 in Ruby being an inexact float, but the decimal in the db being exact
[04:38:17] quirkycoders: has joined #RubyOnRails
[04:42:34] matthewd: tfitts: ^^ the hash form is the only one that passes the value to the database as a float; all the others stringify it (which rounds), then the database treats the resulting literal as a decimal
[04:42:51] matthewd: IOW: don't use floats :)
[04:44:48] tfitts: I guess the other couple of apps I work in are rails 4.2.x and they don't do that
[04:53:17] hive-mind: has joined #RubyOnRails
[04:54:57] jarray52: has joined #RubyOnRails
[04:58:51] quirkycoders: has joined #RubyOnRails
[05:02:08] srinidhi: has joined #RubyOnRails
[05:22:39] jarray52: has joined #RubyOnRails
[05:25:14] jarray52: If one has a rails app with only the server-side portion of actioncable, what are the best ways to test that code? I'm looking for something like curl to test the actioncable stuff.
[05:26:48] jarray52: A gem to write actioncable specs would also be helpful
[05:26:58] jarray52: if such a gem exists
[05:32:13] alfiemax: has joined #RubyOnRails
[05:33:32] matthewd: jarray52: There's https://github.com/rails/rails/pull/23211, which sadly hasn't made it in yet
[05:36:34] matthewd: If you want something that'll really talk to it, you probably want JS tests using the JS client library.. though I'm not sure exactly what that would look like
[05:39:42] quirkycoders: has joined #RubyOnRails
[05:42:34] jarray52: matthewd: Yes, it would be great if that pull request made it into the master branch. I did encounter that while Googling. In lieu of that being merged, I'm looking for an alternative.
[05:43:47] jarray52: matthewd: I have an api only Rails web app and a completely separate frontend. I'm trying to figure out how to introduce websockets and test them since the JavaScript and HTML is in a completely separate app.
[05:44:47] jarray52: dhh in that pull request said that Basecamp uses system tests, which won't work in our case since the HTML and JavaScript is in another app.
[05:54:06] waterCreature: has left #RubyOnRails: ("Leaving")
[06:06:15] jarray52: has left #RubyOnRails: ()
[06:06:31] Technodrome: has joined #RubyOnRails
[06:06:43] Technodrome: anyone know a good job board for rails?
[06:06:52] Radar: weworkremotely.com
[06:07:11] Technodrome: its not remote though
[06:07:37] Radar: what isn't?
[06:08:53] Radar: You asked simply for a good job board for Rails. I gave you one. I don't understand your comment.
[06:09:19] sevenseacat: your job isnt remote? why not?
[06:13:13] Technodrome: well its based in LA
[06:13:24] Technodrome: hiring 25 dev's
[06:13:27] ur5us: has joined #RubyOnRails
[06:15:21] Radar: 25 all at once? seems bad
[06:15:44] Technodrome: Radar this is what management is doing
[06:16:02] Technodrome: assembling 3 teams of 8 pretty much
[06:16:35] helpa: http://i.imgur.com/tyViD.gif
[06:17:31] Radar: then what are you going to do with the other one?
[06:18:20] dionysus69: has joined #RubyOnRails
[06:18:29] Technodrome: anyways, its a good deal, stock options, 160k base, relocation assistance , and sign on bonus
[06:19:47] Radar: Technodrome: how do you feel about developers asking for flexible time off? i.e. two days advance notice?
[06:20:12] Radar: Vacation policy?
[06:20:31] Radar: Happy to proof read any job post you put up. I've got some high standards though ;)
[06:21:07] Technodrome: 2 weeks vacation, and as much paid time off you need
[06:21:14] Technodrome: some people call off a day in advance, no issues
[06:21:35] Radar: 204k aussie pesos isn't so bad. Time to up my rate, I 'spose.
[06:21:47] Radar: Guess demand there is pretty tight too.
[06:22:02] Technodrome: the fact there is so many open positions, means that chances of getting hired are pretty good too
[06:22:14] Technodrome: 5-10k sign on, and 5-10 to move to southern california
[06:22:15] Radar: Anyway, only came on to harass someone _else_ and that's done now, so ttyl.
[06:22:34] Radar: I'm not interested in the job myself, but you're doing well so far in advertising it I think.
[06:22:42] Technodrome: thanks, well if you know anyone , please let me know
[06:23:37] havenwood: Technodrome: A few folk at Ruby in Hollywood were just saying tonight they were looking. What company?
[06:25:54] Technodrome: a commerce company building a shopping experience, with new offices in LA
[06:26:18] Technodrome: havenwood how many people goto that usually?
[06:27:03] havenwood: Technodrome: It's a weekly meet-up with about ten folk usually. A lot more if it's the fifth week of the month.
[06:27:22] Technodrome: hmm interesting
[06:27:35] Technodrome: that one wasn't on my radar
[06:27:46] havenwood: Technodrome: https://www.meetup.com/rubyinhollywood/
[06:28:38] havenwood: Technodrome: The monthly meet-up is tomorrow, right?
[06:29:23] havenwood: Ruby on Rails monthly: https://www.meetup.com/laruby/events/243402060/
[06:29:25] Technodrome: yes usualy around 30 or so people
[06:30:05] bronson: has joined #RubyOnRails
[06:31:28] Technodrome: i would say more than half at this point are just bootcamp guys
[06:38:47] dminuoso_: has joined #RubyOnRails
[06:39:35] dminuoso_: Im working on a new rails 5 project at the moment. In dev I have this bizarre situation that for XHR the TTFB from localhost is roughly 700-1000ms on average
[06:40:11] dminuoso_: The rails log reports these requests as having finished in less than 50ms on average, what could be causing this massive delay here?
[06:40:16] ferr: has joined #RubyOnRails
[06:40:42] dminuoso_: There's no intermediate layers, puma is listening to a TCP socket directly.
[06:40:43] Technodrome: havenwood do you goto that one?
[06:41:25] havenwood: Technodrome: I do go to Ruby in Hollywood but don't usually go to the monthly Rails.
[06:43:05] sagax: has joined #RubyOnRails
[06:43:18] quirkycoders: has joined #RubyOnRails
[06:43:49] dminuoso_: As far as I can tell from wireshark, the delay happens outside the browser.
[06:43:56] matthewd: dminuoso_: Is it inside Rack? When in doubt, blame Sprockets
[06:44:04] Technodrome: havenwood yeah, its harder to fill these spots than you think
[06:51:20] dminuoso_: matthewd: According to rack mini profiler the time reported by the rails log appears to be correct. Im not exactly sure how sprockets plays into this.
[06:51:49] dminuoso_: If its worth mentioning, Im using webpacker (which has its proxy inserted before the rack-mini-profiler middleware).
[06:54:12] matthewd: Does production env fix it?
[06:56:25] conta: has joined #RubyOnRails
[07:00:12] dminuoso_: matthewd: Nope.
[07:00:40] dminuoso_: It just improves rendering times to about 1-2ms, but the TTFB remains around 700-1000ms.
[07:01:24] sevenseacat: what does your browser network log say is taking all the time?
[07:01:40] dminuoso_: sevenseacat: It's putting it to TTFB, and wireshark agrees.
[07:02:03] sevenseacat: I dont know what that means.
[07:02:30] dminuoso_: sevenseacat: https://i.imgur.com/wJKLy2c.png
[07:02:53] sevenseacat: but thats not what I asked
[07:03:50] dminuoso_: sevenseacat: As I said, its TTFB which means its a delay on the network interface (and beyond).
[07:03:57] dminuoso_: https://i.imgur.com/ObDbvNb.png
[07:04:07] sevenseacat: and wtf is 'TTFB'?
[07:04:11] dminuoso_: time to first byte
[07:04:37] dminuoso_: It's essentially the time difference that you can see in wireshark.
[07:05:06] sevenseacat: youre assuming everyone has a lot of prior knowledgn
[07:11:17] arBmind: has joined #RubyOnRails
[07:12:26] dminuoso_: matthewd: Mmm, apparently RAILS_ENV=production was not enough. With -e production the problem disappears.
[07:14:30] matthewd: Interesting.. that might make it easier to bisect. I'd start by comparing the rack stacks.
[07:21:41] tsia: has joined #RubyOnRails
[07:22:29] srinidhi: has joined #RubyOnRails
[07:22:31] rrichardsr3: has joined #RubyOnRails
[07:39:46] xco: has joined #RubyOnRails
[07:40:38] xco: in rails i only know about request.original_url which will return something like "http://www.example.com/articles?page=2" how do i get ONLY "http://www.example.com” from a URL?
[07:47:21] dminuoso_: matthewd: Can I safely ignore the middlewares below the rack-mini-profiler middleware?
[07:47:40] dminuoso_: I mean according to the profiler the time spent below that middleware is just a few milliseconds.
[07:48:42] matthewd: Probably? You should be able to learn something pretty easily by pushing Rack::Runtime up/down the stack
[08:06:45] dminuoso_: matthewd: Heh. This just forced me to use fiddle and unfreeze Rails.config.middlewares.instance_variable_get(@:middlewares), because Rails.application.initialize! is what both injects that Webpacker middleware and *then* freezes the stack. :)
[08:08:02] matthewd: Doesn't it freeze it to remind you that the real stack has been built at that point, and anything you do to the array afterwards will have no effect?
[08:08:25] matthewd: Or is there a window between those two points?
[08:08:32] arBmind: has joined #RubyOnRails
[08:09:56] dminuoso_: matthewd: Mmm, you are right - just mutating this object should not have any effects the more I think about it.
[08:10:08] dminuoso_: This proxy just collects actions how to set up the middleware stack.
[08:10:49] dminuoso_: And for some reason I can't insert_before Webpacker::DevServerProxy
[08:11:10] dminuoso_: But Im sure there is some window that I can monkey patch.
[08:13:54] noob_on_rails: has joined #RubyOnRails
[08:14:27] arBmind: has joined #RubyOnRails
[08:25:18] lxsameer: has joined #RubyOnRails
[08:28:16] dionysus69: has joined #RubyOnRails
[08:30:53] bronson: has joined #RubyOnRails
[08:35:40] marr: has joined #RubyOnRails
[08:44:42] say^: has joined #RubyOnRails
[08:51:31] roshanavand: has joined #RubyOnRails
[09:05:38] rrichardsr3: has joined #RubyOnRails
[09:14:58] conta: has joined #RubyOnRails
[09:30:33] snickers: has joined #RubyOnRails
[09:33:34] blackmesa: has joined #RubyOnRails
[09:37:28] srinidhi: has joined #RubyOnRails
[09:46:07] nickjj: has joined #RubyOnRails
[09:53:56] marienz: has joined #RubyOnRails
[09:58:33] blackmesa1: has joined #RubyOnRails
[09:58:40] dminuoso_: matthewd: This might be a silly question... but how do you move a middleware?
[09:59:07] dminuoso_: Turns out: middleware.delete Foo; middleware.insert_before 0, Foo; produces a stack without any Foo at all.
[09:59:33] matthewd: Oh.. that sounds familiar
[10:00:26] matthewd: https://github.com/rails/rails/pull/27936
[10:01:14] matthewd: Umm... may I recommend some judicious use of monkey-patching? 😅
[10:01:29] rgr_: has joined #RubyOnRails
[10:02:02] dminuoso_: matthewd: That's the thing, I don't know *how*
[10:02:21] matthewd: Actually, the easiest hack would probably be to just open up the gem, and comment out the line that adds the relevant middleware by default
[10:02:25] dminuoso_: Oh. I guess I could remove the initial insertion of Rack::Runtime
[10:02:34] dminuoso_: yeah Im already modifying actionpack
[10:02:39] matthewd: Great minds :)
[10:06:06] dminuoso_: matthewd: Alright, it's not Webpackers middleware either :|
[10:06:41] FernandoBasso: has joined #RubyOnRails
[10:08:39] ur5us: has joined #RubyOnRails
[10:09:39] ShalokShalom: has joined #RubyOnRails
[10:11:29] matthewd: Huh. Top & tail puma's outermost request-handling with some putses?
[10:21:12] DTZUZO: has joined #RubyOnRails
[10:23:41] blackmesa: has joined #RubyOnRails
[10:32:14] dminuoso_: has joined #RubyOnRails
[10:41:55] hfp_work: has joined #RubyOnRails
[10:53:36] quirkycoders: has joined #RubyOnRails
[10:59:05] dminuoso_: matthewd: It's a bit bizarre. Havent been able to figure out where to tackle puma, but just comparing timings, the delay happens *after* rendering has been done (and logged)
[11:05:20] Jameser: has joined #RubyOnRails
[11:14:00] Jameser: has joined #RubyOnRails
[11:19:27] dionysus69: is it a good practice to use superuser role in the database ?
[11:19:42] dionysus69: in rails production env *
[11:27:44] mostlybadfly: has joined #RubyOnRails
[11:35:44] blackmesa: has joined #RubyOnRails
[11:48:13] dminuoso_: has joined #RubyOnRails
[11:48:29] dminuoso_: dionysus69: No.
[11:48:47] dionysus69: dminuoso_: ok thanks :)
[11:48:51] dminuoso_: dionysus69: As usual: As many permissions/roles as necessary, as little as possible.
[11:54:59] felipebalbi: has joined #RubyOnRails
[11:56:01] felipebalbi: are there any known good courses that go through web development basics (html, css, javascript) and ruby on rails? (paid or otherwise, asking for a friend who wants to enter the area)
[11:58:31] dminuoso_: felipebalbi: My two cents: Get a ruby book, learn it - and then dive into Rails using just the official guides.
[11:59:49] felipebalbi: dminuoso_: right, that's a very good start. Don't get me wrong :-) But then it misses stuff like deployment, git, CSS, html (which you can learn enough in a couple hours heh)...
[12:00:15] dminuoso_: felipebalbi: Each of which is best studied on its own.
[12:00:36] felipebalbi: dminuoso_: I see. Yeah, maybe that is the way to go
[12:00:40] dminuoso_: felipebalbi: git? get the "Pro Git" book (its free from git-scm.com)
[12:00:51] dminuoso_: felipebalbi: Deployment? Complicated, as there's many rather complex approaches.
[12:01:16] dminuoso_: felipebalbi: Things like deployment can easily be ignored if you just want to start, and dived into later.
[12:01:28] felipebalbi: dminuoso_: right. The default "write a new blog" tutorial is rather good in exploring rails
[12:02:15] dminuoso_: And the same thing applies to CSS. It's usually sufficient to just kick back and use bootstrap while you are bootstrapping yourself.
[12:02:33] dminuoso_: (And then perhaps ditch it once you have the necessary experience to focus on styling)
[12:02:42] felipebalbi: dminuoso_: that's a good way to look at it
[12:04:34] dminuoso_: felipebalbi: The two important things to consider early is: raw ruby knowledge and basic git competency.
[12:04:41] dminuoso_: With those two equipped, the rails guides get you pretty far. :)
[12:05:55] dminuoso_: felipebalbi: I didn't learn HTML nuances until much later. Now for example I understand that <h1><div /></h1> is invalid HTML5 because nowadays I just refer to the specification.
[12:05:56] Ergo: has joined #RubyOnRails
[12:06:26] felipebalbi: dminuoso_: thanks for the hints. I'll pass them along. She's currently learning ruby, after she's past this initial phase, then I'll suggest some git book (possibly Pro Git), and later rails guides
[12:11:15] dionysus69: has joined #RubyOnRails
[12:26:38] workmad3: has joined #RubyOnRails
[12:33:13] bronson: has joined #RubyOnRails
[12:33:38] fragamus: has joined #RubyOnRails
[12:34:26] dminuoso_: matthewd: It's happening with all servers (webrick, unicorn, puma) ...
[12:35:19] dminuoso_: With webrick at least I get a log statement when the request gets sent, so its more visible there
[12:35:43] dminuoso_: Seems like I have to follow Alice.
[12:36:17] matthewd: Oh, hmm... it might be worth noting that Rack::Runtime only measures up until call returns
[12:36:36] matthewd: (because it has to put it in the header, which goes then)
[12:37:05] matthewd: If something's happening after that, during body iteration/close, it wouldn't be counted there
[12:37:24] quirkycoders: has joined #RubyOnRails
[12:37:29] dminuoso_: matthewd: can you point me in the direction what code I should be looking at?
[12:37:43] dminuoso_: I have very little experience about how rails itself works here
[12:38:00] matthewd: See various usages of Rack::BodyProxy, even inside some rack middlewares
[12:38:49] matthewd: That block gets invoked at the 'real' last moment the middleware is active
[12:53:33] jphase: has joined #RubyOnRails
[12:54:01] truenito: has joined #RubyOnRails
[12:59:59] rfoust: has joined #RubyOnRails
[13:03:06] mcr1: has joined #RubyOnRails
[13:03:37] dminuoso_: matthewd: Maybe Im misunderstanding something here, but what do you mean by "active" ?
[13:04:15] dminuoso_: The whole BodyProxy looks really strange, and neither the usages, the specs - nor the complete lack of any documentation explains what this is for.
[13:19:48] workmad3: has joined #RubyOnRails
[13:20:44] dionysus69: has joined #RubyOnRails
[13:21:10] bratsche: has joined #RubyOnRails
[13:38:21] bruno-: has joined #RubyOnRails
[13:41:02] apparition: has joined #RubyOnRails
[13:42:12] ShalokShalom: has joined #RubyOnRails
[13:55:20] chouhoulis: has joined #RubyOnRails
[13:55:59] chouhoulis: has joined #RubyOnRails
[14:03:05] dminuoso_: has joined #RubyOnRails
[14:03:30] dminuoso_: Mmm, think I get the idea. It just provides for finalization after #each is called.
[14:05:28] felipebalbi: has joined #RubyOnRails
[14:07:13] DrYockel: has joined #RubyOnRails
[14:12:25] orbyt_: has joined #RubyOnRails
[14:12:55] quirkycoders: has joined #RubyOnRails
[14:16:57] dionysus69: has joined #RubyOnRails
[14:18:19] dminuoso_: matthewd: I found the culprit, there seems to be some really buggy behavior in the Webpacker::DevServer implementation.
[14:18:57] dminuoso_: Which explains why the problem does not appear on production, because there is no such server running.
[14:20:15] dminuoso_: https://github.com/rails/webpacker/issues/745
[14:20:37] GodFather: has joined #RubyOnRails
[14:20:53] ResidentBiscuit: has joined #RubyOnRails
[14:21:44] dminuoso_: Clearly that needs a solution with unix domain sockets, which is infinitely faster to probe for.
[14:30:58] snickers: has joined #RubyOnRails
[14:31:19] kuwze: has joined #RubyOnRails
[14:33:26] chouhoulis: has joined #RubyOnRails
[14:34:47] bronson: has joined #RubyOnRails
[14:45:53] fmcgeough: has joined #RubyOnRails
[14:53:59] _ritchie_: has joined #RubyOnRails
[14:56:30] blackmesa: has joined #RubyOnRails
[15:01:33] bruno-: has joined #RubyOnRails
[15:12:01] snickers: has joined #RubyOnRails
[15:20:12] Papierkorb: has joined #RubyOnRails
[15:23:52] snickers: has joined #RubyOnRails
[15:32:03] blackcross_: has joined #RubyOnRails
[15:41:38] cagomez: has joined #RubyOnRails
[15:48:06] GodFather: has joined #RubyOnRails
[15:50:31] GodFather: has joined #RubyOnRails
[15:52:36] fragamus: has joined #RubyOnRails
[15:55:02] adac: has joined #RubyOnRails
[15:56:27] elcontrastador: has joined #RubyOnRails
[15:57:09] bruno-: has joined #RubyOnRails
[15:58:44] blackmesa: has joined #RubyOnRails
[15:59:47] snickers: has joined #RubyOnRails
[16:04:41] xco: has joined #RubyOnRails
[16:04:47] chouhoulis: has joined #RubyOnRails
[16:05:18] xco: hi, i’m trying to do some refactorisation in my rails app. is this the best thing to do in Rails? my effort is after the comment https://gist.github.com/xcobar/4a3deebdc696db31f336cc5dd04364f3
[16:06:41] tbuehlmann: xco: could you gist a real world example?
[16:07:30] planigan: has joined #RubyOnRails
[16:07:33] DrYockel: has joined #RubyOnRails
[16:09:21] dviola: has joined #RubyOnRails
[16:10:45] orbyt_: has joined #RubyOnRails
[16:11:03] xco: tbuehlmann: real world https://gist.github.com/xcobar/4a3deebdc696db31f336cc5dd04364f3
[16:14:17] gusrub: has joined #RubyOnRails
[16:28:36] srkska: has joined #RubyOnRails
[16:28:47] AzaToth: has joined #RubyOnRails
[16:35:53] bronson: has joined #RubyOnRails
[16:41:15] jnollette: has joined #RubyOnRails
[16:42:50] npgm: has joined #RubyOnRails
[16:43:09] Cache_Money: has joined #RubyOnRails
[16:48:35] GodFather: has joined #RubyOnRails
[16:51:25] GodFather: has joined #RubyOnRails
[16:51:48] rfoust: has joined #RubyOnRails
[16:53:04] sekmo: has joined #RubyOnRails
[16:55:06] xco: has left #RubyOnRails: ()
[16:55:47] hahuang65: has joined #RubyOnRails
[17:00:06] Sylario: has joined #RubyOnRails
[17:00:25] one_zero: has joined #RubyOnRails
[17:09:38] Tempesta: has joined #RubyOnRails
[17:11:11] sloggerkhan: has joined #RubyOnRails
[17:25:17] orbyt_: has joined #RubyOnRails
[17:31:32] DrYockel: has joined #RubyOnRails
[17:31:40] sekmo: has joined #RubyOnRails
[17:32:42] kies: has joined #RubyOnRails
[17:36:49] orbyt_: has joined #RubyOnRails
[17:52:05] conta: has joined #RubyOnRails
[17:56:23] orbyt_: has joined #RubyOnRails
[18:03:49] bruno-: has joined #RubyOnRails
[18:04:19] troys: has joined #RubyOnRails
[18:05:46] GodFather_: has joined #RubyOnRails
[18:06:37] cagomez: has joined #RubyOnRails
[18:09:59] cagomez: has joined #RubyOnRails
[18:14:43] gusrub: has joined #RubyOnRails
[18:20:23] borodin: has joined #RubyOnRails
[18:21:13] sloggerkhan: I'm having an issue where I lose sessions running a capybara-selenium-based test, but only when running my whole test suite, not when running just that single test. My other tests don't use selenium.
[18:22:13] orbyt_: has joined #RubyOnRails
[18:26:09] snickers: has joined #RubyOnRails
[18:32:47] netzfisch: has joined #RubyOnRails
[18:36:24] alilynne: has joined #RubyOnRails
[18:36:42] bronson: has joined #RubyOnRails
[18:40:07] oborot: has joined #RubyOnRails
[18:40:26] oborot: Anybody using Webpacker know how to get the browser to reload when I change views?
[18:50:50] srinidhi: has joined #RubyOnRails
[18:51:40] cagomez: has joined #RubyOnRails
[18:59:00] snickers: has joined #RubyOnRails
[19:07:06] bruno-_: has joined #RubyOnRails
[19:11:59] NoGodDamnIdea: has joined #RubyOnRails
[19:13:38] ResidentBiscuit: has joined #RubyOnRails
[19:16:11] mcr1: has joined #RubyOnRails
[19:19:10] fragamus: has joined #RubyOnRails
[19:30:06] conta: has joined #RubyOnRails
[19:34:13] ur5us: has joined #RubyOnRails
[19:34:19] mostlybadfly: has joined #RubyOnRails
[19:34:47] _ritchie_: has joined #RubyOnRails
[19:38:46] _ritchie_: has joined #RubyOnRails
[19:44:03] _ritchie_: has joined #RubyOnRails
[19:45:17] dionysus70: has joined #RubyOnRails
[19:45:57] Technodrome: has joined #RubyOnRails
[19:55:18] cagomez: has joined #RubyOnRails
[19:56:05] quirkycoders: has joined #RubyOnRails
[19:57:08] cagomez: has joined #RubyOnRails
[20:05:00] orbyt_: has joined #RubyOnRails
[20:10:27] marr: has joined #RubyOnRails
[20:17:52] blackcross: has joined #RubyOnRails
[20:23:00] Technodrome: still looking to fill over 15 rails positions, if anyone is interested :)
[20:30:22] cagomez: has joined #RubyOnRails
[20:35:07] baweaver: Technodrome: make sure to specify location, level, if remote is ok, and links to descriptions
[20:35:22] baweaver: Happily employed myself, but that may get you better results from others.
[20:36:29] baweaver: (In general there's nothing against posting relevant job ads, just don't spam it.)
[20:37:36] bronson: has joined #RubyOnRails
[20:40:35] pro777: SloggerKahn: Have you tried using phantomjs instead of selenium?
[20:43:55] workmad3: has joined #RubyOnRails
[20:45:44] rrichardsr3: has joined #RubyOnRails
[20:52:43] daveomcd: has joined #RubyOnRails
[20:53:14] daveomcd: would anyone be able to point out why the following coffeescript is displaying as a string of text instead of refreshing my partial with new data? https://gist.github.com/daveomcd/29c0f538b12e558c1b3e04a7e6b8b5b9
[20:55:40] kapil___: has joined #RubyOnRails
[21:03:23] jkwood: has joined #RubyOnRails
[21:06:47] w0rd-driven: has joined #RubyOnRails
[21:12:20] Guest97372: has joined #RubyOnRails
[21:12:52] NoGodDamnIdea: has joined #RubyOnRails
[21:18:19] conta: has joined #RubyOnRails
[21:23:01] sloggerkhan: Pro777: Yeah, it doesn't make a difference. I'm convinced there must be some kind of accidental side effect in another test, I just have no idea what/how.
[21:30:54] orbyt_: has joined #RubyOnRails
[21:41:06] santi: has joined #RubyOnRails
[21:42:51] Guest97372: has joined #RubyOnRails
[21:45:11] cagomez: has joined #RubyOnRails
[21:45:22] cagomez: has joined #RubyOnRails
[21:46:27] cagomez: has joined #RubyOnRails
[21:54:29] blackmesa1: has joined #RubyOnRails
[21:56:38] cagomez: has joined #RubyOnRails
[21:58:18] orbyt_: has joined #RubyOnRails
[22:00:33] cagomez: has joined #RubyOnRails
[22:00:43] jphase: has joined #RubyOnRails
[22:22:24] fragamus: has joined #RubyOnRails
[22:38:37] irishfromua: has joined #RubyOnRails
[22:38:55] bronson: has joined #RubyOnRails
[22:39:36] GodFather: has joined #RubyOnRails
[22:47:49] kuwze: I'm having trouble writing this controller. Right now I want it to return nothing if the id doesn't exist, but I don't know how to do that.
[22:47:50] kuwze: https://gist.github.com/kuwze/99ce2e435c830b7899d82945e6716c96
[22:48:12] rrichardsr3: has joined #RubyOnRails
[22:50:41] kuwze: err I figured it out
[22:50:50] jphase: has joined #RubyOnRails
[23:01:27] fragamus: has joined #RubyOnRails
[23:17:40] quirkycoders: has joined #RubyOnRails
[23:24:25] one_zero: has joined #RubyOnRails
[23:36:00] gusrub: has joined #RubyOnRails
[23:38:15] quirkycoders: has joined #RubyOnRails
[23:45:14] dgsan: has left #RubyOnRails: ()
[23:46:08] fragamus: has joined #RubyOnRails
[23:48:58] dviola: has joined #RubyOnRails
[23:49:06] Ropeney: has joined #RubyOnRails
[23:50:47] dgsan: has joined #RubyOnRails
[23:55:32] gusrub: has joined #RubyOnRails
[23:58:49] quirkycoders: has joined #RubyOnRails
[23:59:41] brendan-: has joined #RubyOnRails